Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001325/0.001325, allocations: 115.6 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.001524/0.001524, allocations: 213.4 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2395/0.2395, allocations: 44.91 MB / 358.8 MB, free: 6.289 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.002544/0.002544, allocations: 63.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4516, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003393/0.455, allocations: 1.742 MB / 0.5588 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4569, allocations: 1.057 MB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.457, allocations: 7.938 kB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.4573, allocations: 31.78 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.4576, allocations: 95.59 kB / 0.5599 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.4579, allocations: 83.66 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.4581, allocations: 111.7 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.4582, allocations: 7.797 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4583, allocations: 47.72 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.4584, allocations: 35.84 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4584, allocations: 4 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.981e-05/0.4585, allocations: 43.97 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.4586, allocations: 19.92 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.4586, allocations: 35.69 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.4588, allocations: 117.5 kB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4588, allocations: 3.938 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4588, allocations: 0 / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4589, allocations: 4 kB / 0.5604 GB, free: 4.305 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.0005735/0.4594, allocations: 345.6 kB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4595, allocations: 8.031 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.4595, allocations: 38.73 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4595, allocations: 8.891 kB / 0.5608 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4598, allocations: 158.9 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4598, allocations: 4.312 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4598, allocations: 7.938 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.46, allocations: 57.67 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.46, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.46, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.46, allocations: 4 kB / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.4601, allocations: 19.98 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.4605, allocations: 256 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.4607, allocations: 58.61 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.4608, allocations: 16.86 kB / 0.5614 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4608, allocations: 3.984 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.4609, allocations: 67.39 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4609, allocations: 0 / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.4615, allocations: 185.3 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.4615, allocations: 59.39 kB / 0.5617 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4618, allocations: 198.2 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.4618, allocations: 29.7 kB / 0.5619 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.4618, allocations: 100.1 kB / 0.562 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4619, allocations: 31.72 kB / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.4619, allocations: 21.72 kB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4621, allocations: 326.8 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.4622, allocations: 27.92 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.4622, allocations: 33.7 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4624, allocations: 57.7 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4624, allocations: 4 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.4625, allocations: 97.53 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4626, allocations: 4 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4626, allocations: 8.031 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4626, allocations: 0 / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.4627, allocations: 15.98 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4627, allocations: 0 / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.4627, allocations: 11.94 kB / 0.5626 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.4627, allocations: 7.938 kB / 0.5626 GB, free: 1.871 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.0001324/0.4629, allocations: 121.8 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.4629, allocations: 11.91 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.4632, allocations: 127.2 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4632, allocations: 0 / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4632, allocations: 0 / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4632, allocations: 3.938 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.4637, allocations: 362.4 kB / 0.5632 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4637, allocations: 0 / 0.5632 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.4637, allocations: 15.92 kB / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.4637, allocations: 3.938 kB / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4638, allocations: 4 kB / 0.5632 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4638, allocations: 4.031 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4638, allocations: 3.984 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.464, allocations: 204.2 kB / 0.5634 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.464, allocations: 7.953 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.4641, allocations: 15.92 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.4641, allocations: 384 / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.4642, allocations: 11.98 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4642, allocations: 8 kB / 0.5635 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4643, allocations: 152.2 kB / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4643, allocations: 0 / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.4646, allocations: 24.12 kB / 0.5636 GB, free: 0.7148 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.002317/0.4669, allocations: 1.088 MB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4671, allocations: 63.88 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4671, allocations: 4.062 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.4672, allocations: 27.92 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4676, allocations: 31.66 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.4695, allocations: 1.657 MB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.4699, allocations: 0.7041 MB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.4699, allocations: 16.97 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.47, allocations: 39.42 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.47, allocations: 0 / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.5007, allocations: 3.629 MB / 0.5707 GB, free: 9.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.55, allocations: 8.812 kB / 0.5707 GB, free: 9.559 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.701813446125016]