Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009102/0.0009102, 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.0009109/0.0009109, 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.8905/0.8905, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.233/0.233, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test85,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.984e-05, allocations: 2.281 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.1586/0.1587, allocations: 1.657 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.1596, allocations: 0.9551 MB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.1597, allocations: 3.062 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.1599, allocations: 57.11 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1601, allocations: 111.1 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.1602, allocations: 72 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1604, allocations: 111.9 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1604, allocations: 3.016 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.1605, allocations: 51.92 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.1606, allocations: 47.08 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1606, allocations: 2.75 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/0.1606, allocations: 34.83 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1607, allocations: 19.45 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.1607, allocations: 16.92 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1608, allocations: 104 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1608, allocations: 1.812 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1608, allocations: 0 / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1608, allocations: 0 / 445.5 MB, free: 42.95 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.0003295/0.1612, allocations: 336 kB / 445.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1612, allocations: 12.41 kB / 445.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.921e-05/0.1612, allocations: 30.75 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1612, allocations: 9.984 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1614, allocations: 146.8 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1614, allocations: 11.11 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1614, allocations: 1.875 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1615, allocations: 58.22 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1615, allocations: 0 / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1615, allocations: 0 / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1615, allocations: 2.594 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.1616, allocations: 17.91 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.1617, allocations: 147.5 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.1618, allocations: 52.77 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.1618, allocations: 20.31 kB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1618, allocations: 3.875 kB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/0.1619, allocations: 75.11 kB / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.1619, allocations: 0 / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001683/0.1621, allocations: 99.72 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.1621, allocations: 54.38 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.1622, allocations: 181.1 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.1622, allocations: 25.7 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.1622, allocations: 105.5 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1622, allocations: 18.45 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.1623, allocations: 21.31 kB / 446.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.474e-05/0.1623, allocations: 327.8 kB / 447.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.1623, allocations: 14.02 kB / 447.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.1623, allocations: 31.8 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.1624, allocations: 46.16 kB / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1624, allocations: 0 / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.761e-05/0.1625, allocations: 92.25 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1625, allocations: 5.406 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1625, allocations: 0 / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1625, allocations: 2.594 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.1626, allocations: 8.125 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1626, allocations: 0 / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.1626, allocations: 15.19 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1626, allocations: 2.562 kB / 447.4 MB, free: 41.45 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 4.365e-05/0.1626, allocations: 126 kB / 447.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.1626, allocations: 13.3 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1628, allocations: 98.27 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1628, allocations: 0 / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1628, allocations: 0 / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1628, allocations: 2.969 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.928e-05/0.1628, allocations: 156.7 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1628, allocations: 0 / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.1628, allocations: 8.969 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1628, allocations: 5.531 kB / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1629, allocations: 6.203 kB / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1629, allocations: 0 / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1629, allocations: 0 / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.7e-05/0.1629, allocations: 113.6 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.1629, allocations: 15.97 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.163, allocations: 3.5 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.702e-05/0.163, allocations: 6.844 kB / 448 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.163, allocations: 6.109 kB / 448 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.163, allocations: 2.75 kB / 448 MB, free: 41.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.1631, allocations: 140.2 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1631, allocations: 0 / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.1632, allocations: 25 kB / 448.1 MB, free: 40.96 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.0007417/0.1639, allocations: 0.9974 MB / 449.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.164, allocations: 37.77 kB / 449.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.164, allocations: 4.062 kB / 449.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.1641, allocations: 29.53 kB / 449.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.1642, allocations: 29.59 kB / 449.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.165, allocations: 1.482 MB / 450.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.165, allocations: 86.41 kB / 450.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.1651, allocations: 17.3 kB / 450.8 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1651, allocations: 36.14 kB / 450.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1651, allocations: 0 / 450.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.179, allocations: 3.923 MB / 454.8 MB, free: 37.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.884, allocations: 2.906 kB / 454.8 MB, free: 37.58 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.795830276794732]