Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001276/0.001276, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001384/0.001384, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2678/0.2678, allocations: 46.94 MB / 361.7 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 179] 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.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 55.91 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3428, allocations: 66.04 MB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00332/0.3461, allocations: 1.936 MB / 0.5634 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3481, allocations: 1.154 MB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.3482, allocations: 7.938 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.3487, allocations: 227.3 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.3491, allocations: 223.1 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3494, allocations: 111.7 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.3497, allocations: 263.3 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3498, allocations: 23.72 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.35, allocations: 127.5 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3502, allocations: 167.5 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.3503, allocations: 8 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3504, allocations: 71.95 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.3505, allocations: 51.78 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3506, allocations: 95.27 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.3509, allocations: 246.8 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3509, allocations: 4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3509, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3509, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007663/0.3517, allocations: 0.5041 MB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3517, allocations: 8.031 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.564e-05/0.3518, allocations: 4.188 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.3518, allocations: 34.75 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.3519, allocations: 32.75 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.3523, allocations: 238.4 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3523, allocations: 12.12 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.3523, allocations: 8 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3526, allocations: 111.2 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3526, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3526, allocations: 12 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3526, allocations: 0 / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3528, allocations: 47.95 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.3534, allocations: 447.9 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.3537, allocations: 117.2 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3538, allocations: 41.81 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3539, allocations: 8 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.3541, allocations: 113.1 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3541, allocations: 7.938 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001403/0.3555, allocations: 0.4975 MB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.3556, allocations: 81.11 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.3561, allocations: 444.5 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3561, allocations: 33.7 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3562, allocations: 160.5 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.3563, allocations: 75.42 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.3564, allocations: 41.7 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3565, allocations: 350.8 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3567, allocations: 51.98 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.3568, allocations: 103.2 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3571, allocations: 163.5 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3571, allocations: 7.938 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004043/0.3575, allocations: 233.3 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3575, allocations: 4 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3575, allocations: 4 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3575, allocations: 0 / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3577, allocations: 47.98 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3577, allocations: 0 / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.3578, allocations: 15.94 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.3578, allocations: 8 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002072/0.358, allocations: 178.3 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.3581, allocations: 35.75 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.3586, allocations: 264.8 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3586, allocations: 4 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3586, allocations: 4 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3586, allocations: 3.984 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3597, allocations: 0.6989 MB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3597, allocations: 4 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.3598, allocations: 36.05 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3598, allocations: 0 / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3598, allocations: 8 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3598, allocations: 4 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.3598, allocations: 11.91 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.3604, allocations: 423.6 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.3604, allocations: 31.7 kB / 0.5716 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.3605, allocations: 12.17 kB / 0.5716 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3606, allocations: 8 kB / 0.5716 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.3607, allocations: 27.84 kB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3607, allocations: 8 kB / 0.5717 GB, free: 9.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.361, allocations: 335 kB / 0.572 GB, free: 9.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.361, allocations: 0 / 0.572 GB, free: 9.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.3614, allocations: 55.92 kB / 0.572 GB, free: 9.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002685/0.3641, allocations: 1.372 MB / 0.5734 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.3645, allocations: 151.7 kB / 0.5735 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3645, allocations: 0 / 0.5735 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3646, allocations: 79.97 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.3652, allocations: 57.27 kB / 0.5737 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.3687, allocations: 2.877 MB / 0.5765 GB, free: 4.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.3691, allocations: 0.7752 MB / 0.5772 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3693, allocations: 37.94 kB / 0.5773 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3694, allocations: 103.4 kB / 0.5774 GB, free: 3.816 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3694, allocations: 0 / 0.5774 GB, free: 3.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.3961, allocations: 6.715 MB / 0.5839 GB, free: 13.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 11.98 kB / 0.5839 GB, free: 13.18 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.145743428030983]