Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.00124/0.00124, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001364/0.001364, allocations: 217.4 kB / 21.46 MB, free: 1.602 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.561/1.561, allocations: 230.6 MB / 254.8 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.2417/0.2417, allocations: 46.93 MB / 357.8 MB, free: 10.3 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1467, allocations: 65.99 MB / 0.5561 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003664/0.1503, allocations: 1.937 MB / 0.558 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1522, allocations: 1.078 MB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.1523, allocations: 7.938 kB / 0.5591 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1526, allocations: 39.72 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1529, allocations: 95.53 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1531, allocations: 95.64 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1533, allocations: 155.5 kB / 0.5595 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1534, allocations: 17.55 kB / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1535, allocations: 63.72 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.1536, allocations: 51.7 kB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1537, allocations: 8 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1538, allocations: 51.97 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.1538, allocations: 23.86 kB / 0.5597 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.1539, allocations: 55.61 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1542, allocations: 151.3 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1542, allocations: 0 / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1542, allocations: 0 / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1542, allocations: 0 / 0.5599 GB, free: 1.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007086/0.1549, allocations: 492.1 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1549, allocations: 15.97 kB / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.202e-05/0.155, allocations: 4.188 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.155, allocations: 34.75 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1551, allocations: 24.83 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.1554, allocations: 232.8 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1554, allocations: 12.12 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1554, allocations: 15.92 kB / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1557, allocations: 108.2 kB / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1557, allocations: 0 / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1557, allocations: 0 / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1557, allocations: 3.938 kB / 0.5608 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1559, allocations: 51.91 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.1565, allocations: 0.501 MB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1568, allocations: 86.59 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.544e-05/0.1569, allocations: 36.84 kB / 0.5614 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1569, allocations: 3.984 kB / 0.5614 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1571, allocations: 87.36 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1572, allocations: 0 / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004428/0.1576, allocations: 141.4 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1576, allocations: 55.41 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1579, allocations: 206.1 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1579, allocations: 33.7 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.158, allocations: 108.1 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.158, allocations: 39.73 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.1581, allocations: 29.7 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1582, allocations: 322.8 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.1583, allocations: 31.98 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1584, allocations: 72.39 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1586, allocations: 92.59 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1586, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002846/0.1589, allocations: 141.4 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1589, allocations: 10.03 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.159, allocations: 0 / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.159, allocations: 11.92 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1591, allocations: 20.06 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1591, allocations: 8 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.1592, allocations: 11.94 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1592, allocations: 4 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001137/0.1593, allocations: 131.9 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1593, allocations: 19.89 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.1594, allocations: 21.34 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1594, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1594, allocations: 11.94 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1594, allocations: 4 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1596, allocations: 213.6 kB / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1596, allocations: 0 / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.1597, allocations: 8 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1597, allocations: 4 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1597, allocations: 3.938 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1597, allocations: 0 / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1597, allocations: 0 / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1601, allocations: 184.9 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1602, allocations: 89.05 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1602, allocations: 11.94 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1603, allocations: 7.984 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1603, allocations: 3.984 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1603, allocations: 11.98 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1604, allocations: 144.4 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1604, allocations: 192 / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1607, allocations: 28 kB / 0.5636 GB, free: 13.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002084/0.1628, allocations: 1.019 MB / 0.5646 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.163, allocations: 87.83 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.163, allocations: 0 / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1632, allocations: 31.92 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1635, allocations: 42.84 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1658, allocations: 1.759 MB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1662, allocations: 0.7162 MB / 0.5672 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.1662, allocations: 21.41 kB / 0.5672 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.1663, allocations: 39.42 kB / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1663, allocations: 0 / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.187, allocations: 3.899 MB / 0.5711 GB, free: 6.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.636, allocations: 8.062 kB / 0.5711 GB, free: 6.121 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.913768881000578]