Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0008623/0.0008623, allocations: 79.69 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.0008616/0.0008616, 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.8858/0.8858, 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.2301/0.2301, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.44e-05, allocations: 4.672 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00227/0.002294, allocations: 1.673 MB / 441.3 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003381, allocations: 0.9625 MB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.003453, allocations: 3.938 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.003723, allocations: 47.75 kB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.004014, allocations: 107.5 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.004191, allocations: 79.59 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.00435, allocations: 95.7 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.004389, allocations: 4.234 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.004478, allocations: 63.75 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.004544, allocations: 15.92 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004559, allocations: 4 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.648e-05/0.004636, allocations: 35.92 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.004691, allocations: 35.84 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004725, allocations: 11.94 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.004889, allocations: 123.5 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004892, allocations: 4 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004893, allocations: 0 / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004897, allocations: 0 / 442.9 MB, free: 0.8867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004286/0.005326, allocations: 369.3 kB / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.005363, allocations: 12.03 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.00539, allocations: 30.75 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.005422, allocations: 8.891 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.005629, allocations: 162.5 kB / 443.5 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.00564, allocations: 4.359 kB / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.005649, allocations: 384 / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.00576, allocations: 61.98 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.005766, allocations: 3.938 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.005774, allocations: 0 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.005778, allocations: 0 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.005823, allocations: 23.92 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/0.1696, allocations: 151.4 kB / 443.7 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1698, allocations: 49.77 kB / 443.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.1699, allocations: 22.42 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1699, allocations: 2.75 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.17, allocations: 69.27 kB / 443.9 MB, free: 46.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.17, allocations: 0.9844 kB / 443.9 MB, free: 46.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002336/0.1702, allocations: 107.6 kB / 444 MB, free: 46.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.1703, allocations: 51.41 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1704, allocations: 275.6 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.1704, allocations: 26.2 kB / 444.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.1705, allocations: 117.1 kB / 444.4 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1705, allocations: 21.38 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1705, allocations: 19.47 kB / 444.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.1706, allocations: 327.5 kB / 444.8 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.1706, allocations: 18.11 kB / 444.8 MB, free: 45.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.1706, allocations: 32.98 kB / 444.8 MB, free: 45.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.1707, allocations: 49.83 kB / 444.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1707, allocations: 0 / 444.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.237e-05/0.1708, allocations: 90.47 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1708, allocations: 3.875 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1708, allocations: 3 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1708, allocations: 1.719 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.1709, allocations: 12.06 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1709, allocations: 0 / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.1709, allocations: 16.33 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.171, allocations: 6.188 kB / 445 MB, free: 45.7 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 (7): * Single equations (assignments): 7 * 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 7.009e-05/0.171, allocations: 130.6 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.171, allocations: 13.5 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1712, allocations: 106.4 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1712, allocations: 0 / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1712, allocations: 0 / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1712, allocations: 7.594 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.1713, allocations: 165 kB / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1713, allocations: 6.688 kB / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.1713, allocations: 7.438 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1713, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.1713, allocations: 2.844 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1713, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1713, allocations: 1.5 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.496e-05/0.1714, allocations: 125.2 kB / 445.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.1714, allocations: 10.75 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1714, allocations: 6.219 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.1715, allocations: 0.6562 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.1715, allocations: 11.59 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1715, allocations: 10.78 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.92e-05/0.1716, allocations: 209.3 kB / 445.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1716, allocations: 0 / 445.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.1717, allocations: 19.28 kB / 445.8 MB, free: 45.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008477/0.1726, allocations: 0.9876 MB / 446.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1727, allocations: 43.25 kB / 446.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1727, allocations: 0 / 446.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.1727, allocations: 25.64 kB / 446.9 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.173, allocations: 28.48 kB / 446.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.174, allocations: 1.696 MB / 448.6 MB, free: 43.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.174, allocations: 110.5 kB / 448.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.1741, allocations: 20.7 kB / 448.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.1741, allocations: 41.36 kB / 448.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1741, allocations: 0 / 448.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.1902, allocations: 4.326 MB / 453.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/6.811, allocations: 3.875 kB / 453.1 MB, free: 41.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.72110765427351]