Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001332/0.001332, allocations: 119.9 kB / 20.44 MB, free: 1.297 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.001579/0.001579, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.91 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 67.89 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3416, allocations: 65.47 MB / 0.5571 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003201/0.3448, allocations: 1.745 MB / 0.5588 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3467, allocations: 1.056 MB / 0.5598 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.3468, allocations: 0 / 0.5598 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.3471, allocations: 47.7 kB / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.3474, allocations: 91.59 kB / 0.56 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3477, allocations: 75.69 kB / 0.56 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3479, allocations: 107.7 kB / 0.5601 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.348, allocations: 9.828 kB / 0.5601 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3481, allocations: 47.72 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.3482, allocations: 39.78 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3482, allocations: 4 kB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.3483, allocations: 39.98 kB / 0.5603 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.3483, allocations: 27.86 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.3484, allocations: 39.72 kB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3486, allocations: 111.5 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3486, allocations: 0 / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3486, allocations: 0 / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3486, allocations: 0 / 0.5604 GB, free: 4.207 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.0005953/0.3492, allocations: 345.6 kB / 0.5608 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3493, allocations: 15.97 kB / 0.5608 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.3493, allocations: 34.75 kB / 0.5608 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3494, allocations: 12.84 kB / 0.5608 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3496, allocations: 150.2 kB / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3497, allocations: 4.375 kB / 0.561 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3497, allocations: 7.938 kB / 0.561 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3498, allocations: 49.67 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3498, allocations: 0 / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3498, allocations: 4 kB / 0.561 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3499, allocations: 8 kB / 0.561 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.3499, allocations: 19.97 kB / 0.5611 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.3503, allocations: 263.9 kB / 0.5613 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3505, allocations: 50.67 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.3505, allocations: 24.84 kB / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3506, allocations: 0 / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3507, allocations: 67.39 kB / 0.5614 GB, free: 3.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3507, allocations: 0 / 0.5614 GB, free: 3.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005493/0.3513, allocations: 181.3 kB / 0.5616 GB, free: 2.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3513, allocations: 51.41 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3515, allocations: 179.2 kB / 0.5618 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3515, allocations: 37.64 kB / 0.5619 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3516, allocations: 104.1 kB / 0.562 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3516, allocations: 27.78 kB / 0.562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3517, allocations: 21.72 kB / 0.562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3519, allocations: 326.8 kB / 0.5623 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.3519, allocations: 15.98 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.352, allocations: 41.64 kB / 0.5624 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3522, allocations: 57.72 kB / 0.5624 GB, free: 1.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3522, allocations: 0 / 0.5624 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.3524, allocations: 109.5 kB / 0.5625 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3524, allocations: 4 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3524, allocations: 0 / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3524, allocations: 4.375 kB / 0.5626 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3525, allocations: 23.92 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3526, allocations: 3.938 kB / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.3526, allocations: 15.97 kB / 0.5626 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3526, allocations: 0 / 0.5626 GB, free: 1.781 MB / 398.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.0001094/0.3527, allocations: 125.8 kB / 0.5627 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3527, allocations: 11.95 kB / 0.5627 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.353, allocations: 111.2 kB / 0.5628 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.353, allocations: 7.922 kB / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.353, allocations: 0 / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.353, allocations: 3.938 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.3535, allocations: 362.5 kB / 0.5632 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3535, allocations: 3.938 kB / 0.5632 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.3535, allocations: 8 kB / 0.5632 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3535, allocations: 3.938 kB / 0.5632 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3535, allocations: 4 kB / 0.5632 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3535, allocations: 0 / 0.5632 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3535, allocations: 3.984 kB / 0.5632 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3538, allocations: 200.4 kB / 0.5634 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.3538, allocations: 11.91 kB / 0.5634 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3538, allocations: 7.938 kB / 0.5634 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.3539, allocations: 4 kB / 0.5634 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.3539, allocations: 11.92 kB / 0.5634 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3539, allocations: 4 kB / 0.5634 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3541, allocations: 137.8 kB / 0.5636 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3541, allocations: 4 kB / 0.5636 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3543, allocations: 23.94 kB / 0.5636 GB, free: 0.6562 MB / 398.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.002291/0.3566, allocations: 1.091 MB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.3568, allocations: 51.92 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3568, allocations: 0 / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.3569, allocations: 27.92 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3572, allocations: 35.23 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.3592, allocations: 1.65 MB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.3597, allocations: 0.7041 MB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.3597, allocations: 24.95 kB / 0.5671 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.3598, allocations: 31.42 kB / 0.5671 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3598, allocations: 0 / 0.5671 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3903, allocations: 3.567 MB / 0.5706 GB, free: 9.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 0 / 0.5706 GB, free: 9.586 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.416391636012122]