Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0008684/0.0008684, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000966/0.000966, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8942/0.8942, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2454/0.2454, allocations: 32.78 MB / 293.5 MB, free: 1.246 MB / 266.7 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.302e-05, allocations: 6.219 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002262/0.002285, allocations: 1.72 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003333, allocations: 0.9781 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.003398, allocations: 0 / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.003661, allocations: 43.75 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.003893, allocations: 91.5 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004027, allocations: 87.59 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004167, allocations: 111.6 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.004254, allocations: 8 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.004326, allocations: 47.83 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.004393, allocations: 27.91 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.004409, allocations: 7.938 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.004486, allocations: 43.92 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.004538, allocations: 23.92 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.004572, allocations: 19.92 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004736, allocations: 119.6 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004738, allocations: 0 / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004739, allocations: 4 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.004743, allocations: 3.938 kB / 443 MB, free: 0.8164 MB / 410.7 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.0004354/0.005178, allocations: 349.5 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.005216, allocations: 12.03 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.005244, allocations: 34.69 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.005273, allocations: 8.891 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.005478, allocations: 154.2 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.00549, allocations: 384 / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.005507, allocations: 4.375 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.005629, allocations: 61.97 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.005638, allocations: 4 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005647, allocations: 4 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.005651, allocations: 0 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.005701, allocations: 23.92 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1539/0.1596, allocations: 252 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1597, allocations: 51.58 kB / 443.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.1598, allocations: 20.36 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1598, allocations: 4.719 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.1599, allocations: 68 kB / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.1599, allocations: 2.938 kB / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004847/0.1604, allocations: 189.3 kB / 444.2 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1604, allocations: 51.41 kB / 444.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1606, allocations: 202.5 kB / 444.5 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.1606, allocations: 29.89 kB / 444.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.1606, allocations: 104.6 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1606, allocations: 29.95 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1607, allocations: 19.78 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.1607, allocations: 331 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.1607, allocations: 20.56 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.1608, allocations: 37.66 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.1608, allocations: 66.2 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1608, allocations: 0 / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.1609, allocations: 111.2 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.161, allocations: 7.594 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.161, allocations: 0 / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.161, allocations: 0 / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.161, allocations: 21.94 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1611, allocations: 6.531 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.1611, allocations: 6 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1611, allocations: 6.375 kB / 445.2 MB, free: 45.54 MB / 410.7 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 5.852e-05/0.1612, allocations: 127 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1612, allocations: 13.67 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1613, allocations: 119.7 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1613, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1613, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1613, allocations: 2.719 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1616, allocations: 377.8 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1616, allocations: 1.875 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.1616, allocations: 15.41 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1616, allocations: 2.969 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1616, allocations: 2.344 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1616, allocations: 4.688 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1616, allocations: 2.938 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.92e-05/0.1617, allocations: 214.8 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.1617, allocations: 17.22 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1617, allocations: 3.328 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.1618, allocations: 2.781 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1618, allocations: 5.828 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1618, allocations: 7.062 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.1619, allocations: 152.5 kB / 446.3 MB, free: 44.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1619, allocations: 3.875 kB / 446.3 MB, free: 44.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.162, allocations: 25.45 kB / 446.3 MB, free: 44.83 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0009498/0.163, allocations: 1.141 MB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1631, allocations: 60.84 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1631, allocations: 0 / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.1632, allocations: 28.86 kB / 447.5 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1634, allocations: 29 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.1643, allocations: 1.684 MB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.62e-05/0.1644, allocations: 90.81 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.1644, allocations: 17.8 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.1645, allocations: 36.58 kB / 449.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1645, allocations: 0 / 449.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.1811, allocations: 4.293 MB / 453.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.029, allocations: 8.578 kB / 453.7 MB, free: 41.17 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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: 8.998314067721367]