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.0008341/0.0008341, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001032/0.001032, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9072/0.9072, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2329/0.2329, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.767e-05, allocations: 2.844 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002252/0.00227, allocations: 1.717 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003456, allocations: 0.9741 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003557, allocations: 0 / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.003873, allocations: 39.83 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.004195, allocations: 107.4 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.004399, allocations: 71.67 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.004554, allocations: 111.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.004652, allocations: 7.938 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.004734, allocations: 47.91 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.004811, allocations: 31.89 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.004829, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.004922, allocations: 47.86 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.00498, allocations: 27.84 kB / 442.9 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.00502, allocations: 15.94 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005208, allocations: 119.6 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00521, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005211, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005215, allocations: 4 kB / 443 MB, free: 0.8242 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.000447/0.005662, allocations: 349.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.005703, allocations: 8.031 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.005734, allocations: 42.69 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.00577, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.005958, allocations: 150.2 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.00597, allocations: 4.312 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.005989, allocations: 12.38 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.006125, allocations: 53.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.006137, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006148, allocations: 4 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006153, allocations: 3.984 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.00621, allocations: 19.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.162/0.1682, allocations: 247.3 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1684, allocations: 55.12 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.1684, allocations: 25.14 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1684, allocations: 2.438 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.1686, allocations: 68.12 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.1686, allocations: 2.781 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004468/0.169, allocations: 191.5 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.1691, allocations: 57.25 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1692, allocations: 204.5 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.1692, allocations: 28.36 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1692, allocations: 103.8 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1692, allocations: 25.73 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1693, allocations: 21.41 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.158e-05/0.1693, allocations: 326.3 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.1693, allocations: 22.5 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.1694, allocations: 36.47 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.1694, allocations: 63.52 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1694, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.1695, allocations: 112 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1696, allocations: 8.969 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1696, allocations: 1.031 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1696, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.1696, allocations: 21.55 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1696, allocations: 5.672 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.1697, allocations: 6.281 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1697, allocations: 5.891 kB / 445.2 MB, free: 45.57 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.416e-05/0.1697, allocations: 126.2 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1697, allocations: 13.3 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1699, allocations: 127.2 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.1699, allocations: 2.875 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1699, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1699, allocations: 3.141 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1702, allocations: 373.6 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1702, allocations: 2.734 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.1702, allocations: 11.66 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1702, allocations: 2.906 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1702, allocations: 2.344 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1702, allocations: 4.344 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1702, allocations: 3.438 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.1703, allocations: 213 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.1703, allocations: 14.75 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1703, allocations: 3 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.1704, allocations: 3.234 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.1704, allocations: 10.28 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1704, allocations: 6.062 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.862e-05/0.1705, allocations: 152.1 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1705, allocations: 3.812 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.1706, allocations: 26.2 kB / 446.3 MB, free: 44.87 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.0009111/0.1716, allocations: 1.147 MB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1717, allocations: 62.12 kB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1717, allocations: 0 / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.1717, allocations: 29.38 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.172, allocations: 24.84 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.173, allocations: 1.679 MB / 449.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.615e-05/0.173, allocations: 91.8 kB / 449.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.1731, allocations: 19.2 kB / 449.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.1731, allocations: 43.61 kB / 449.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1731, allocations: 0 / 449.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1904, allocations: 4.279 MB / 453.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.942, allocations: 6.922 kB / 453.7 MB, free: 41.23 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/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: 8.882877109572291]