Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 99 kB / 16.27 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 194.7 kB / 17.2 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2351/0.2351, allocations: 43.51 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001788, allocations: 72 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09155, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002305/0.09389, allocations: 1.689 MB / 442.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.09478, allocations: 0.8039 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.09485, allocations: 0 / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.09509, allocations: 39.83 kB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.09525, allocations: 63.69 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.09545, allocations: 79.78 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.09557, allocations: 99.69 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.09565, allocations: 12.16 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.09572, allocations: 39.8 kB / 443.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.09578, allocations: 31.84 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.0958, allocations: 4 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.09588, allocations: 35.98 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.09592, allocations: 23.86 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.09597, allocations: 35.73 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.0961, allocations: 115.7 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.09611, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09612, allocations: 4 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.09613, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.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.0003524/0.09648, allocations: 418.9 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.09653, allocations: 11.89 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.09656, allocations: 38.73 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.0966, allocations: 12.75 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.09674, allocations: 206.2 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.09676, allocations: 8.375 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.09678, allocations: 7.938 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.09689, allocations: 57.66 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09691, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.09692, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09693, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.09699, allocations: 19.98 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.09723, allocations: 288.8 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.09737, allocations: 58.67 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.09742, allocations: 24.78 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.09745, allocations: 4 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.09758, allocations: 71.39 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.09759, allocations: 3.938 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004467/0.09805, allocations: 173.2 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.09809, allocations: 55.41 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.09822, allocations: 207.2 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.09824, allocations: 25.7 kB / 445.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.09828, allocations: 112 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.09831, allocations: 23.66 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.09835, allocations: 25.7 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.09841, allocations: 322.8 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.09846, allocations: 23.98 kB / 445.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.09852, allocations: 33.7 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.09861, allocations: 57.72 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.09862, allocations: 3.938 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.09877, allocations: 101.6 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.09879, allocations: 8 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.09879, allocations: 0 / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.09881, allocations: 0 / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.09889, allocations: 19.88 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.0989, allocations: 4 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.09895, allocations: 11.92 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.09896, allocations: 4 kB / 446.1 MB, free: 1.086 MB / 318.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 6.418e-05/0.09903, allocations: 129.3 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.09905, allocations: 19.8 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.09909, allocations: 13.41 kB / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.0991, allocations: 0 / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.09911, allocations: 0 / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.09912, allocations: 7.938 kB / 446.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.09941, allocations: 383.3 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09942, allocations: 3.984 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.09945, allocations: 12.03 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.09946, allocations: 7.938 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.09947, allocations: 4 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.09948, allocations: 0 / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.09949, allocations: 192 / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.09965, allocations: 208.4 kB / 446.9 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.09968, allocations: 96.84 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.09971, allocations: 12.31 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.09978, allocations: 0 / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.09981, allocations: 7.984 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.09983, allocations: 12 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.09995, allocations: 147.9 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09996, allocations: 0 / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1002, allocations: 24 kB / 447.2 MB, free: 15.91 MB / 334.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.001447/0.1017, allocations: 1.096 MB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1019, allocations: 63.89 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1019, allocations: 0 / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.102, allocations: 31.92 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1023, allocations: 26.02 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1041, allocations: 1.663 MB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1044, allocations: 0.708 MB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.1045, allocations: 13.19 kB / 450.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.1046, allocations: 35.42 kB / 450.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1046, allocations: 3.938 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07435/0.1789, allocations: 3.354 MB / 454.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.602, allocations: 11.81 kB / 454.2 MB, free: 8.832 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches