Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.0008303/0.0008303, 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.001009/0.001009, 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.8812/0.8812, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2366/0.2366, allocations: 34.24 MB / 294.9 MB, free: 0.7148 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.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.245e-05, allocations: 6.281 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.1545/0.1545, allocations: 1.774 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1556, allocations: 1.055 MB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1556, allocations: 3.938 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.156, allocations: 312 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1563, allocations: 257.2 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.1564, allocations: 115.2 kB / 445.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1566, allocations: 272.6 kB / 446 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.1567, allocations: 7.281 kB / 446 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1568, allocations: 153.9 kB / 446.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1569, allocations: 200.6 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1569, allocations: 5.875 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.157, allocations: 54.61 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-05/0.1571, allocations: 143.6 kB / 446.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.1572, allocations: 72.3 kB / 446.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1574, allocations: 364 kB / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1574, allocations: 0 / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1574, allocations: 1.031 kB / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1574, allocations: 0 / 447 MB, free: 42.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005185/0.1579, allocations: 0.6741 MB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1579, allocations: 8.656 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.276e-05/0.158, allocations: 40.91 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.158, allocations: 57.05 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1584, allocations: 390.1 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1584, allocations: 3.156 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1584, allocations: 6.969 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1585, allocations: 93.33 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1585, allocations: 0 / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1585, allocations: 0 / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1585, allocations: 2.812 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.1586, allocations: 33.81 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.1588, allocations: 339.7 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.159, allocations: 107 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.159, allocations: 38.39 kB / 448.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.159, allocations: 2.75 kB / 448.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.1592, allocations: 114.1 kB / 448.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1592, allocations: 3.938 kB / 448.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002918/0.1595, allocations: 204.9 kB / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1595, allocations: 83.98 kB / 449.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.1601, allocations: 1.062 MB / 450.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1601, allocations: 32.67 kB / 450.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.1602, allocations: 239.6 kB / 450.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1602, allocations: 32.42 kB / 450.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.1603, allocations: 25.91 kB / 450.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.1603, allocations: 375.2 kB / 450.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.1604, allocations: 28.34 kB / 451 MB, free: 40.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.1604, allocations: 57.64 kB / 451 MB, free: 40.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.1605, allocations: 95.86 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1605, allocations: 2.594 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000162/0.1607, allocations: 175.7 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1607, allocations: 5.312 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1607, allocations: 2.969 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1607, allocations: 0 / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.1608, allocations: 28.47 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1608, allocations: 2.844 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.1608, allocations: 14.14 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1609, allocations: 9.625 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001117/0.161, allocations: 226.8 kB / 451.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.161, allocations: 60.44 kB / 451.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.1612, allocations: 207.9 kB / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1612, allocations: 0 / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1612, allocations: 2.531 kB / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1612, allocations: 0 / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1614, allocations: 294.7 kB / 452.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1614, allocations: 4 kB / 452.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.1614, allocations: 15.41 kB / 452.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1614, allocations: 4.969 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1614, allocations: 2.906 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1614, allocations: 3.141 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1614, allocations: 0 / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.1616, allocations: 217.4 kB / 452.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1616, allocations: 71.23 kB / 452.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1617, allocations: 7.047 kB / 452.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.1617, allocations: 13.75 kB / 452.4 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1617, allocations: 10.31 kB / 452.5 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1617, allocations: 8.953 kB / 452.5 MB, free: 39.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004247/0.1622, allocations: 0.7919 MB / 453.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1622, allocations: 2.062 kB / 453.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.1623, allocations: 47.59 kB / 453.3 MB, free: 39.16 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009127/0.1633, allocations: 1.091 MB / 454.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1634, allocations: 91 kB / 454.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1634, allocations: 4.062 kB / 454.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.1635, allocations: 45.98 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1637, allocations: 68.23 kB / 454.6 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.1669, allocations: 4.633 MB / 459.2 MB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.1671, allocations: 246.7 kB / 459.5 MB, free: 36.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.206e-05/0.1672, allocations: 57.77 kB / 459.5 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1673, allocations: 155.8 kB / 459.7 MB, free: 36.01 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1673, allocations: 0 / 459.7 MB, free: 36.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.1872, allocations: 10.13 MB / 469.8 MB, free: 34.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.98, allocations: 18.17 kB / 469.8 MB, free: 34.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.930840287357569]