Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.0013/0.0013, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001406/0.001406, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.228/0.228, allocations: 44.91 MB / 358.8 MB, free: 6.281 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.002073/0.002073, allocations: 67.91 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3699, allocations: 65.46 MB / 0.5571 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003343/0.3733, allocations: 1.753 MB / 0.5588 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.375, allocations: 1.049 MB / 0.5598 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.3751, allocations: 4 kB / 0.5598 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.3754, allocations: 43.77 kB / 0.5599 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.3757, allocations: 99.53 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3759, allocations: 83.61 kB / 0.56 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.3761, allocations: 103.7 kB / 0.5601 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3762, allocations: 9.828 kB / 0.5601 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3764, allocations: 51.72 kB / 0.5602 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3765, allocations: 31.84 kB / 0.5602 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3765, allocations: 4 kB / 0.5602 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3766, allocations: 43.98 kB / 0.5603 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.3767, allocations: 19.92 kB / 0.5603 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.3767, allocations: 35.69 kB / 0.5603 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.377, allocations: 119.5 kB / 0.5604 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.377, allocations: 4 kB / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.377, allocations: 0 / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.377, allocations: 7.922 kB / 0.5605 GB, free: 4.176 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.0006193/0.3776, allocations: 345.6 kB / 0.5608 GB, free: 3.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3776, allocations: 12.03 kB / 0.5608 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.3777, allocations: 34.73 kB / 0.5608 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.3777, allocations: 8.891 kB / 0.5608 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.378, allocations: 155 kB / 0.561 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.378, allocations: 8.312 kB / 0.561 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.378, allocations: 3.938 kB / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3782, allocations: 53.67 kB / 0.561 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3782, allocations: 0 / 0.561 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3782, allocations: 8 kB / 0.5611 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3782, allocations: 0 / 0.5611 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.3783, allocations: 15.98 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3787, allocations: 260 kB / 0.5613 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3789, allocations: 58.61 kB / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.3789, allocations: 24.84 kB / 0.5614 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.379, allocations: 4 kB / 0.5614 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3791, allocations: 63.39 kB / 0.5615 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3791, allocations: 0 / 0.5615 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006008/0.3797, allocations: 173.3 kB / 0.5616 GB, free: 2.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.3798, allocations: 55.41 kB / 0.5617 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.38, allocations: 206.2 kB / 0.5619 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3801, allocations: 25.7 kB / 0.5619 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.3801, allocations: 104.1 kB / 0.562 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.3802, allocations: 27.78 kB / 0.562 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.3802, allocations: 21.72 kB / 0.562 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3804, allocations: 326.8 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.3805, allocations: 23.94 kB / 0.5624 GB, free: 2.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.3806, allocations: 41.64 kB / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3807, allocations: 57.7 kB / 0.5625 GB, free: 1.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3807, allocations: 0 / 0.5625 GB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.3809, allocations: 105.5 kB / 0.5626 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3809, allocations: 10.5 kB / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3809, allocations: 0 / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3809, allocations: 384 / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.381, allocations: 15.98 kB / 0.5626 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3811, allocations: 8.031 kB / 0.5626 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.3811, allocations: 7.938 kB / 0.5626 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3811, allocations: 7.938 kB / 0.5626 GB, free: 1.746 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.0001372/0.3813, allocations: 125.8 kB / 0.5627 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3813, allocations: 15.91 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.3815, allocations: 111.1 kB / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3815, allocations: 3.984 kB / 0.5629 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3815, allocations: 0 / 0.5629 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3816, allocations: 7.938 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.3821, allocations: 362.6 kB / 0.5632 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3821, allocations: 0 / 0.5632 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.3822, allocations: 15.92 kB / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.3822, allocations: 7.938 kB / 0.5632 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3822, allocations: 0 / 0.5632 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3822, allocations: 0 / 0.5632 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3822, allocations: 80 / 0.5632 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.3826, allocations: 212.3 kB / 0.5634 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.3826, allocations: 3.953 kB / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3826, allocations: 15.86 kB / 0.5635 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.3827, allocations: 4 kB / 0.5635 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3827, allocations: 7.984 kB / 0.5635 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3827, allocations: 4 kB / 0.5635 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.3829, allocations: 156.2 kB / 0.5636 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3829, allocations: 0 / 0.5636 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3832, allocations: 23.94 kB / 0.5637 GB, free: 0.5938 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.002277/0.3855, allocations: 1.093 MB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3857, allocations: 51.92 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3857, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.3857, allocations: 31.92 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3861, allocations: 33.91 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3881, allocations: 1.662 MB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3885, allocations: 0.708 MB / 0.5671 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3886, allocations: 20.97 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.3887, allocations: 35.42 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3887, allocations: 0 / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4213, allocations: 3.62 MB / 0.5707 GB, free: 9.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.52, allocations: 7.938 kB / 0.5707 GB, free: 9.445 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.4831010568887]