Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.00137/0.00137, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001892/0.001892, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.487/1.487, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2345/0.2345, allocations: 46.91 MB / 357.1 MB, free: 10.32 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.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 75.88 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1225, allocations: 65.99 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003781/0.1262, allocations: 1.982 MB / 0.5574 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1285, allocations: 1.193 MB / 0.5585 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1286, allocations: 7.938 kB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.1293, allocations: 199.3 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.1299, allocations: 207.2 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1303, allocations: 159.2 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1307, allocations: 275.2 kB / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1308, allocations: 12.31 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.131, allocations: 119.5 kB / 0.5595 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1311, allocations: 123.5 kB / 0.5596 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1311, allocations: 8 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1313, allocations: 67.89 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.1314, allocations: 47.84 kB / 0.5597 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1315, allocations: 95.33 kB / 0.5598 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.1319, allocations: 243 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1319, allocations: 0 / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1319, allocations: 0 / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1319, allocations: 0 / 0.56 GB, free: 1.051 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009988/0.1329, allocations: 0.5659 MB / 0.5606 GB, free: 440 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.133, allocations: 8.031 kB / 0.5606 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.133, allocations: 38.73 kB / 0.5606 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.1331, allocations: 28.73 kB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.1335, allocations: 287.8 kB / 0.5609 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.1335, allocations: 12.36 kB / 0.5609 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1335, allocations: 7.938 kB / 0.561 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1338, allocations: 104.1 kB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1338, allocations: 3.938 kB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1338, allocations: 4 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1338, allocations: 0 / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.134, allocations: 43.97 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.1345, allocations: 381.5 kB / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.1348, allocations: 117.2 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1349, allocations: 37.7 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.135, allocations: 11.98 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1352, allocations: 109 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1352, allocations: 4 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004852/0.1357, allocations: 181.4 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.1358, allocations: 106.8 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.1362, allocations: 355.3 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1362, allocations: 29.7 kB / 0.5624 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1364, allocations: 140.1 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1364, allocations: 35.81 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.1365, allocations: 37.7 kB / 0.5626 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1366, allocations: 338.8 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.1367, allocations: 31.98 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1369, allocations: 79.03 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1371, allocations: 99.39 kB / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1371, allocations: 0 / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003058/0.1374, allocations: 150 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1374, allocations: 5.875 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1374, allocations: 4 kB / 0.5633 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1374, allocations: 4 kB / 0.5633 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1375, allocations: 23.98 kB / 0.5633 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1376, allocations: 12 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.1376, allocations: 15.83 kB / 0.5633 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1377, allocations: 4 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001669/0.1378, allocations: 161 kB / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.1379, allocations: 27.81 kB / 0.5635 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.1379, allocations: 29.83 kB / 0.5635 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1379, allocations: 0 / 0.5635 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1379, allocations: 4 kB / 0.5635 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.138, allocations: 7.938 kB / 0.5635 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1382, allocations: 249.5 kB / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1382, allocations: 0 / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1383, allocations: 4 kB / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1383, allocations: 4 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1383, allocations: 4 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.1383, allocations: 7.984 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1383, allocations: 3.938 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.1386, allocations: 181.7 kB / 0.564 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.1387, allocations: 100.9 kB / 0.5641 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1388, allocations: 7.984 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1388, allocations: 4 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1389, allocations: 15.92 kB / 0.5641 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1389, allocations: 8 kB / 0.5641 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003106/0.1392, allocations: 253.9 kB / 0.5643 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 4 kB / 0.5643 GB, free: 12.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1395, allocations: 43.94 kB / 0.5644 GB, free: 12.18 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002181/0.1417, allocations: 1.034 MB / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.142, allocations: 87.91 kB / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.142, allocations: 0 / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1421, allocations: 48.28 kB / 0.5655 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1426, allocations: 78.27 kB / 0.5656 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.1461, allocations: 2.344 MB / 0.5679 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.1467, allocations: 0.7557 MB / 0.5686 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1468, allocations: 25.94 kB / 0.5687 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1469, allocations: 75.41 kB / 0.5687 GB, free: 7.746 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1469, allocations: 0 / 0.5687 GB, free: 7.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.1783, allocations: 5.822 MB / 0.5744 GB, free: 2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.553, allocations: 7.875 kB / 0.5744 GB, free: 1.992 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.603282502153888]