Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003397/0.3337, allocations: 1.737 MB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3356, allocations: 1.049 MB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.389e-05/0.3357, allocations: 11.88 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.336, allocations: 47.75 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.3363, allocations: 99.59 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3365, allocations: 75.69 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3367, allocations: 107.7 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.3368, allocations: 5.828 kB / 0.5638 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3369, allocations: 55.66 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.337, allocations: 31.84 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.337, allocations: 4 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3372, allocations: 39.98 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.3372, allocations: 23.92 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.3373, allocations: 39.67 kB / 0.564 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3375, allocations: 139.4 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3375, allocations: 4 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3375, allocations: 0 / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3375, allocations: 0 / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005715/0.3381, allocations: 361.4 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3381, allocations: 12.03 kB / 0.5645 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.3382, allocations: 30.75 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3382, allocations: 8.891 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3385, allocations: 167 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.3385, allocations: 4.375 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3385, allocations: 11.88 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3387, allocations: 57.61 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3387, allocations: 0 / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3387, allocations: 3.984 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3387, allocations: 0 / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.3388, allocations: 23.98 kB / 0.5647 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.3392, allocations: 259.9 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3394, allocations: 62.55 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.3394, allocations: 16.92 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3394, allocations: 4 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.3396, allocations: 63.39 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3396, allocations: 4 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005766/0.3402, allocations: 181.3 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3402, allocations: 51.41 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3405, allocations: 238.9 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3405, allocations: 29.7 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.3406, allocations: 116.1 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.3406, allocations: 27.78 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.3407, allocations: 21.72 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3408, allocations: 326.8 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.3409, allocations: 23.98 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.341, allocations: 37.64 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3411, allocations: 61.69 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3411, allocations: 4.375 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.3413, allocations: 97.56 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3413, allocations: 12 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3413, allocations: 0 / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3413, allocations: 0 / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.3414, allocations: 23.97 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3414, allocations: 4 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.3415, allocations: 7.938 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3415, allocations: 4 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.3416, allocations: 133.8 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3417, allocations: 19.91 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.342, allocations: 111.4 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.342, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.342, allocations: 11.88 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.342, allocations: 3.938 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.3425, allocations: 370.4 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3425, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.3425, allocations: 8 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3425, allocations: 11.97 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3425, allocations: 3.984 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3425, allocations: 3.938 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3425, allocations: 0 / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3428, allocations: 208.3 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3428, allocations: 11.91 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3428, allocations: 3.938 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.3429, allocations: 12 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.3429, allocations: 3.984 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.343, allocations: 4 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3431, allocations: 179.2 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3431, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3434, allocations: 19.94 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/0.3456, allocations: 1.099 MB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3458, allocations: 55.92 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3458, allocations: 0 / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.3459, allocations: 32.06 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3462, allocations: 37.34 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3483, allocations: 1.755 MB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3487, allocations: 0.7158 MB / 0.571 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.3488, allocations: 8.984 kB / 0.571 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.3489, allocations: 43.41 kB / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3489, allocations: 0 / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3786, allocations: 3.799 MB / 0.5748 GB, free: 5.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.5, allocations: 0 / 0.5748 GB, free: 5.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.566634224000154]