Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001287/0.001287, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001566/0.001566, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2281/0.2281, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 0.491 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 66 MB / 0.5555 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003159/0.1427, allocations: 1.725 MB / 0.5572 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1446, allocations: 1.042 MB / 0.5582 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.1447, allocations: 0 / 0.5582 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.145, allocations: 43.75 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1453, allocations: 99.53 kB / 0.5583 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1455, allocations: 71.75 kB / 0.5584 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1457, allocations: 107.6 kB / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.1458, allocations: 15.98 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.1459, allocations: 39.8 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.1459, allocations: 39.83 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.146, allocations: 4 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.1461, allocations: 47.98 kB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.1461, allocations: 15.88 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.1462, allocations: 39.72 kB / 0.5587 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1464, allocations: 123.4 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1464, allocations: 0 / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1464, allocations: 0 / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1464, allocations: 0 / 0.5588 GB, free: 2.367 MB / 414.1 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.0005671/0.147, allocations: 422.7 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.147, allocations: 8.031 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.147, allocations: 34.75 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.1471, allocations: 12.89 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1474, allocations: 223.1 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1474, allocations: 384 / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1474, allocations: 11.92 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1476, allocations: 53.67 kB / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1476, allocations: 0 / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1476, allocations: 0 / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1476, allocations: 3.938 kB / 0.5595 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/0.1477, allocations: 27.92 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1481, allocations: 288.8 kB / 0.5598 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1483, allocations: 54.69 kB / 0.5599 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.1483, allocations: 20.84 kB / 0.5599 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1483, allocations: 0 / 0.5599 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1485, allocations: 71.33 kB / 0.56 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1485, allocations: 0 / 0.56 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.1491, allocations: 173.4 kB / 0.5601 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1491, allocations: 55.34 kB / 0.5602 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1494, allocations: 198.3 kB / 0.5604 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1494, allocations: 29.7 kB / 0.5604 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.1495, allocations: 108.1 kB / 0.5605 GB, free: 408 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1495, allocations: 23.78 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1495, allocations: 25.72 kB / 0.5606 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1497, allocations: 322.8 kB / 0.5609 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.1498, allocations: 19.98 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.1499, allocations: 37.7 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.15, allocations: 61.64 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.15, allocations: 0 / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.1502, allocations: 105.6 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1502, allocations: 4 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1502, allocations: 160 / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1502, allocations: 384 / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1503, allocations: 23.92 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1503, allocations: 3.984 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1504, allocations: 7.938 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1504, allocations: 12.03 kB / 0.5611 GB, free: 15.73 MB / 430.1 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 0.0001106/0.1505, allocations: 124 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.1505, allocations: 15.91 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.1506, allocations: 13.41 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1506, allocations: 0 / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1506, allocations: 4 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1506, allocations: 3.938 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.1511, allocations: 395.3 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1511, allocations: 4 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.1511, allocations: 12.12 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1511, allocations: 3.938 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1511, allocations: 7.938 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1511, allocations: 0 / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1511, allocations: 7.938 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1514, allocations: 200.4 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1515, allocations: 89.02 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1515, allocations: 11.92 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1516, allocations: 0 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1516, allocations: 7.984 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1516, allocations: 4 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1518, allocations: 148.2 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1518, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.152, allocations: 27.94 kB / 0.5622 GB, free: 14.56 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002255/0.1543, allocations: 1.103 MB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1545, allocations: 51.92 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1545, allocations: 0 / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1546, allocations: 23.98 kB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1549, allocations: 28.28 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.157, allocations: 1.673 MB / 0.565 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1573, allocations: 0.7118 MB / 0.5657 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.1574, allocations: 12.89 kB / 0.5657 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.1575, allocations: 43.41 kB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1575, allocations: 0 / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.1839, allocations: 3.481 MB / 0.5691 GB, free: 7.539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.394, allocations: 3.938 kB / 0.5691 GB, free: 7.535 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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: 11.43878574599512]