Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001364/0.001364, allocations: 119.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.001429/0.001429, allocations: 200.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.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2396/0.2396, allocations: 46.92 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 0.491 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 65.98 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003754/0.1293, allocations: 1.836 MB / 0.5572 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.1319, allocations: 1.713 MB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.132, allocations: 3.938 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1323, allocations: 51.64 kB / 0.559 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.1327, allocations: 143.4 kB / 0.5591 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1329, allocations: 103.7 kB / 0.5592 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1332, allocations: 203.3 kB / 0.5594 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.1333, allocations: 17.61 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1334, allocations: 95.56 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1336, allocations: 87.55 kB / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.1337, allocations: 8 kB / 0.5596 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1338, allocations: 111.9 kB / 0.5597 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1339, allocations: 35.84 kB / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.134, allocations: 63.59 kB / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1344, allocations: 231 kB / 0.56 GB, free: 1.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1344, allocations: 3.938 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1344, allocations: 4 kB / 0.56 GB, free: 1.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1344, allocations: 0 / 0.56 GB, free: 1.082 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008411/0.1352, allocations: 0.498 MB / 0.5605 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1353, allocations: 8.031 kB / 0.5605 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.1353, allocations: 30.75 kB / 0.5605 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.1354, allocations: 20.84 kB / 0.5606 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1358, allocations: 257.1 kB / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1358, allocations: 4.312 kB / 0.5608 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1358, allocations: 7.938 kB / 0.5608 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1361, allocations: 105.1 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1361, allocations: 0 / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1361, allocations: 0 / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1361, allocations: 0 / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1362, allocations: 35.91 kB / 0.5609 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.1365, allocations: 222.5 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1368, allocations: 105.2 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.1369, allocations: 37.64 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1369, allocations: 4 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.1371, allocations: 105.1 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1371, allocations: 4 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004673/0.1376, allocations: 165.4 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.1377, allocations: 136.5 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.138, allocations: 248.1 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.138, allocations: 29.7 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.1381, allocations: 112.1 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.1381, allocations: 31.8 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.1382, allocations: 25.72 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1384, allocations: 334.8 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.1385, allocations: 27.98 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1386, allocations: 69.64 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1388, allocations: 95.34 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1388, allocations: 3.938 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003/0.1391, allocations: 133.6 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1391, allocations: 7.938 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1391, allocations: 4 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1391, allocations: 0 / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1393, allocations: 31.92 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1393, allocations: 0 / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.1394, allocations: 11.89 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1394, allocations: 7.984 kB / 0.5628 GB, free: 13.89 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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.0001273/0.1395, allocations: 136 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.1395, allocations: 19.91 kB / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.1396, allocations: 20.98 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1396, allocations: 3.984 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1396, allocations: 4 kB / 0.563 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1396, allocations: 0 / 0.563 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1399, allocations: 233.4 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1399, allocations: 3.938 kB / 0.5632 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1399, allocations: 8 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1399, allocations: 0 / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1399, allocations: 4.125 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1399, allocations: 8 kB / 0.5632 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1399, allocations: 0 / 0.5632 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1403, allocations: 173.7 kB / 0.5634 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.1403, allocations: 96.95 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1404, allocations: 0 / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1404, allocations: 7.984 kB / 0.5635 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1405, allocations: 15.98 kB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1405, allocations: 8 kB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.1407, allocations: 177.6 kB / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.141, allocations: 47.92 kB / 0.5637 GB, free: 12.85 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00231/0.1433, allocations: 1.112 MB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1436, allocations: 79.83 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1436, allocations: 4 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1437, allocations: 39.91 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1441, allocations: 57.92 kB / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1464, allocations: 1.889 MB / 0.5668 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1468, allocations: 0.7242 MB / 0.5675 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9e-05/0.1468, allocations: 29.53 kB / 0.5676 GB, free: 8.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.147, allocations: 55.41 kB / 0.5676 GB, free: 8.898 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.147, allocations: 0 / 0.5676 GB, free: 8.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1772, allocations: 5.337 MB / 0.5728 GB, free: 3.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.424, allocations: 7.875 kB / 0.5728 GB, free: 3.586 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.539841293124482]