Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001797/0.001797, 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.002422/0.002422, allocations: 213.5 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2346/0.2346, allocations: 46.94 MB / 360.9 MB, free: 4.258 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.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.89 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3547, allocations: 66.03 MB / 0.5607 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004026/0.3587, allocations: 1.745 MB / 0.5624 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.3611, allocations: 1.057 MB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3613, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.3617, allocations: 43.72 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.3622, allocations: 95.59 kB / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3625, allocations: 83.66 kB / 0.5637 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.3627, allocations: 103.7 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3628, allocations: 14.09 kB / 0.5638 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.363, allocations: 47.72 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3631, allocations: 31.84 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3631, allocations: 4 kB / 0.5639 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3633, allocations: 43.97 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.3633, allocations: 23.92 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.3634, allocations: 35.69 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.3637, allocations: 127.4 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3637, allocations: 0 / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3637, allocations: 0 / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3637, allocations: 4 kB / 0.5641 GB, free: 1.141 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.0006616/0.3644, allocations: 349.5 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3644, allocations: 8.031 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.3645, allocations: 38.73 kB / 0.5645 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.3645, allocations: 8.891 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.3649, allocations: 166.2 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3649, allocations: 4.375 kB / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3649, allocations: 7.938 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3651, allocations: 57.67 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3651, allocations: 0 / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3651, allocations: 0 / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3651, allocations: 4 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.3652, allocations: 15.98 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.3656, allocations: 267.9 kB / 0.565 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3658, allocations: 54.62 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.3659, allocations: 20.84 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3659, allocations: 4 kB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3661, allocations: 63.47 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3661, allocations: 0 / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005433/0.3666, allocations: 181.2 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3667, allocations: 63.41 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3669, allocations: 214.6 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3669, allocations: 25.7 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.367, allocations: 112.1 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.367, allocations: 27.78 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.3671, allocations: 25.66 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3672, allocations: 322.8 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.3673, allocations: 27.98 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.3674, allocations: 37.7 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3675, allocations: 53.72 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3675, allocations: 0 / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.3677, allocations: 109.5 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3677, allocations: 4 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3677, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3677, allocations: 4.031 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.3678, allocations: 19.98 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3678, allocations: 3.938 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.3679, allocations: 7.938 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3679, allocations: 4.375 kB / 0.5663 GB, free: 14.66 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.0001137/0.368, allocations: 125.8 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.368, allocations: 19.84 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3683, allocations: 115.2 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3683, allocations: 4 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.3683, allocations: 4 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3683, allocations: 3.938 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.3687, allocations: 362.4 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3687, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.3688, allocations: 19.91 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3688, allocations: 7.938 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3688, allocations: 4 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3688, allocations: 4.031 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3688, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3691, allocations: 200.3 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3691, allocations: 7.953 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3691, allocations: 7.938 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.3692, allocations: 3.984 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.3692, allocations: 11.94 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3693, allocations: 11.98 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3694, allocations: 156.3 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3694, allocations: 0 / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3697, allocations: 20 kB / 0.5673 GB, free: 13.5 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.002228/0.3719, allocations: 1.099 MB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3721, allocations: 51.92 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3721, allocations: 4.062 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.3722, allocations: 36.06 kB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3725, allocations: 25.55 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.3745, allocations: 1.686 MB / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.3749, allocations: 0.7119 MB / 0.5709 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.375, allocations: 16.58 kB / 0.5709 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.375, allocations: 39.42 kB / 0.5709 GB, free: 9.883 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.375, allocations: 0 / 0.5709 GB, free: 9.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4065, allocations: 3.683 MB / 0.5745 GB, free: 6.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.28, allocations: 4.062 kB / 0.5745 GB, free: 6.262 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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: 14.21923278295435]