Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002121/0.002121, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 230.5 MB / 257.4 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.93 MB / 360.8 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.4963 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 66.08 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003112/0.3464, allocations: 1.743 MB / 0.5625 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3481, allocations: 1.053 MB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.3482, allocations: 0 / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.3485, allocations: 51.75 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3488, allocations: 103.5 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.349, allocations: 79.72 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3491, allocations: 107.6 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.3492, allocations: 9.828 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3493, allocations: 43.78 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.3494, allocations: 31.84 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3494, allocations: 7.938 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.3495, allocations: 39.98 kB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.3496, allocations: 31.84 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.3497, allocations: 35.73 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3499, allocations: 135.4 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3499, allocations: 0 / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3499, allocations: 0 / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3499, allocations: 0 / 0.5642 GB, free: 0.8242 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.0005282/0.3504, allocations: 361.3 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3505, allocations: 12.03 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.3505, allocations: 38.73 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3505, allocations: 8.891 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3508, allocations: 163 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3508, allocations: 8.375 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3508, allocations: 4.375 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.351, allocations: 57.8 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.351, allocations: 0 / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.351, allocations: 0 / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.351, allocations: 0 / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/0.3511, allocations: 23.92 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3515, allocations: 267.9 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.3517, allocations: 58.67 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.3517, allocations: 16.84 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3517, allocations: 4 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.3519, allocations: 67.33 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3519, allocations: 4 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005183/0.3524, allocations: 185.3 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3525, allocations: 51.41 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3527, allocations: 235 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3527, allocations: 33.7 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.3528, allocations: 116 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3528, allocations: 27.78 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3529, allocations: 21.72 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.353, allocations: 334.8 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.3531, allocations: 19.98 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3531, allocations: 33.7 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.3533, allocations: 61.66 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3533, allocations: 384 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.3535, allocations: 101.6 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3535, allocations: 10.19 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3535, allocations: 3.938 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3535, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.3536, allocations: 19.98 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3536, allocations: 4 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3536, allocations: 0 / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3536, allocations: 7.938 kB / 0.5664 GB, free: 14.3 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.0001089/0.3538, allocations: 131.1 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.3538, allocations: 19.94 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.354, allocations: 122.9 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.354, allocations: 0 / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.354, allocations: 4 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.354, allocations: 0 / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.3545, allocations: 370.6 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3545, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.3546, allocations: 8 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3546, allocations: 8.031 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3546, allocations: 3.938 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3546, allocations: 0 / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3546, allocations: 80 / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3548, allocations: 216.2 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.3549, allocations: 11.91 kB / 0.5673 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3549, allocations: 7.938 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.355, allocations: 8 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.355, allocations: 3.984 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.355, allocations: 4 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3552, allocations: 179.2 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3552, allocations: 192 / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3554, allocations: 23.94 kB / 0.5675 GB, free: 13.11 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.002261/0.3577, allocations: 1.084 MB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3579, allocations: 55.97 kB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3579, allocations: 3.938 kB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.358, allocations: 31.92 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3583, allocations: 35.67 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3603, allocations: 1.748 MB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3607, allocations: 0.7118 MB / 0.5711 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.951e-05/0.3608, allocations: 20.95 kB / 0.5711 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.3608, allocations: 39.42 kB / 0.5712 GB, free: 9.395 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3608, allocations: 0 / 0.5712 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3903, allocations: 3.79 MB / 0.5749 GB, free: 5.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.25, allocations: 2.344 kB / 0.5749 GB, free: 5.648 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.568307004999951]