Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.00131/0.00131, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001361/0.001361, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.241/0.241, allocations: 46.92 MB / 357.1 MB, free: 10.36 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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 75.89 kB / 0.491 GB, free: 7.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1302, allocations: 65.98 MB / 0.5555 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00346/0.1336, allocations: 1.766 MB / 0.5572 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1357, allocations: 1.037 MB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1358, allocations: 4 kB / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.1362, allocations: 103.7 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.1367, allocations: 127.5 kB / 0.5584 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.137, allocations: 79.72 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1373, allocations: 135.6 kB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1374, allocations: 15.97 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1375, allocations: 63.77 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1377, allocations: 75.72 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1377, allocations: 4 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1379, allocations: 59.98 kB / 0.5588 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.1379, allocations: 35.84 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.138, allocations: 47.61 kB / 0.5589 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1383, allocations: 155.3 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1383, allocations: 0 / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1383, allocations: 4 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1383, allocations: 3.938 kB / 0.5591 GB, free: 2.004 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007071/0.139, allocations: 454.4 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1391, allocations: 12.03 kB / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.1391, allocations: 38.69 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.1392, allocations: 16.84 kB / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.1396, allocations: 229 kB / 0.5598 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1396, allocations: 4.375 kB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1396, allocations: 3.938 kB / 0.5598 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1398, allocations: 77.59 kB / 0.5599 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1398, allocations: 0 / 0.5599 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1398, allocations: 3.938 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1398, allocations: 0 / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1399, allocations: 35.97 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.1405, allocations: 320.7 kB / 0.5602 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1408, allocations: 74.58 kB / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.1409, allocations: 28.78 kB / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1409, allocations: 0 / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1411, allocations: 75.39 kB / 0.5604 GB, free: 492 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1411, allocations: 0 / 0.5604 GB, free: 492 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009738/0.1421, allocations: 281.2 kB / 0.5607 GB, free: 204 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.1421, allocations: 63.33 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1424, allocations: 259.7 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1425, allocations: 29.7 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.1426, allocations: 112.1 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1426, allocations: 35.69 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.1427, allocations: 29.72 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1428, allocations: 330.8 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.1429, allocations: 35.98 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.143, allocations: 45.7 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1432, allocations: 89.64 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1432, allocations: 0 / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002751/0.1434, allocations: 145.5 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1435, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1435, allocations: 4.031 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1435, allocations: 4 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.1436, allocations: 23.92 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1436, allocations: 7.938 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.1436, allocations: 7.953 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1437, allocations: 4 kB / 0.5618 GB, free: 14.93 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 (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.0001299/0.1438, allocations: 140 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1438, allocations: 15.91 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.1439, allocations: 26.09 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1439, allocations: 7.938 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1439, allocations: 0 / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1439, allocations: 4 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.1445, allocations: 479.9 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1445, allocations: 4 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.1446, allocations: 19.98 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1446, allocations: 0 / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1446, allocations: 8.062 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1446, allocations: 0 / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1446, allocations: 3.938 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.1449, allocations: 253 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.145, allocations: 89.02 kB / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.145, allocations: 8 kB / 0.5628 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.1451, allocations: 7.984 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1451, allocations: 4 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1451, allocations: 11.98 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1453, allocations: 193.5 kB / 0.5631 GB, free: 13.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1453, allocations: 0 / 0.5631 GB, free: 13.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1456, allocations: 35.88 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002535/0.1481, allocations: 1.199 MB / 0.5643 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1484, allocations: 83.84 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1484, allocations: 4 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.1485, allocations: 43.98 kB / 0.5644 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1488, allocations: 39.34 kB / 0.5644 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.1511, allocations: 1.951 MB / 0.5663 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1515, allocations: 0.7279 MB / 0.567 GB, free: 9.551 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.1516, allocations: 21.06 kB / 0.5671 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.1516, allocations: 47.61 kB / 0.5671 GB, free: 9.484 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1516, allocations: 3.938 kB / 0.5671 GB, free: 9.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.1792, allocations: 4.225 MB / 0.5712 GB, free: 5.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.314, allocations: 15.64 kB / 0.5712 GB, free: 5.301 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.463045619893819]