Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 44.92 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 70.28 kB / 491.9 MB, free: 29.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1302, allocations: 64.26 MB / 0.5431 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003072/0.1333, allocations: 1.719 MB / 0.5448 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1347, allocations: 0.8846 MB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.1348, allocations: 3.938 kB / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1351, allocations: 39.77 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1353, allocations: 63.69 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1356, allocations: 103.7 kB / 0.5458 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1357, allocations: 99.67 kB / 0.5459 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.1358, allocations: 4.516 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.1359, allocations: 43.78 kB / 0.546 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.517e-05/0.136, allocations: 35.78 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.136, allocations: 4 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.1361, allocations: 43.98 kB / 0.5461 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1361, allocations: 23.92 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.1362, allocations: 35.73 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1364, allocations: 111.5 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1364, allocations: 0 / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1364, allocations: 0 / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1364, allocations: 7.938 kB / 0.5462 GB, free: 0.8164 MB / 398.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.0005711/0.137, allocations: 414.7 kB / 0.5466 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.137, allocations: 11.97 kB / 0.5466 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.1371, allocations: 34.75 kB / 0.5467 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1371, allocations: 16.89 kB / 0.5467 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1374, allocations: 200.2 kB / 0.5469 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1374, allocations: 8.375 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1374, allocations: 3.938 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1376, allocations: 57.61 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1376, allocations: 0 / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1376, allocations: 7.984 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1376, allocations: 0 / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.1377, allocations: 12 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1381, allocations: 296.8 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1382, allocations: 50.62 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.1383, allocations: 20.84 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1383, allocations: 0 / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1385, allocations: 71.39 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1385, allocations: 0 / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.139, allocations: 181.3 kB / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.139, allocations: 51.41 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1392, allocations: 190.1 kB / 0.5478 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1393, allocations: 29.69 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.1393, allocations: 96.14 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1393, allocations: 31.78 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.1394, allocations: 21.72 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1395, allocations: 326.8 kB / 0.5483 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.1396, allocations: 15.98 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.1397, allocations: 45.58 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1398, allocations: 57.7 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1398, allocations: 4.375 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.14, allocations: 105.5 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.14, allocations: 4 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.14, allocations: 0 / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.14, allocations: 4 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.1401, allocations: 23.98 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1401, allocations: 3.938 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.1402, allocations: 3.938 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1402, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.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.0001132/0.1403, allocations: 135.9 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1403, allocations: 15.91 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1403, allocations: 12.72 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1403, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1404, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1404, allocations: 11.91 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1408, allocations: 387.5 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1408, allocations: 4.031 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.1409, allocations: 12 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1409, allocations: 3.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1409, allocations: 4 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1409, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1409, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1411, allocations: 196.3 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.1412, allocations: 101 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1412, allocations: 7.875 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.1413, allocations: 4 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1413, allocations: 7.984 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1413, allocations: 8 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1415, allocations: 140.1 kB / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1415, allocations: 0 / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1417, allocations: 23.98 kB / 0.5495 GB, free: 13.05 MB / 414.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.002142/0.1439, allocations: 1.096 MB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.144, allocations: 51.97 kB / 0.5507 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.144, allocations: 0 / 0.5507 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.1441, allocations: 31.92 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1445, allocations: 26.23 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1464, allocations: 1.642 MB / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1467, allocations: 0.7002 MB / 0.553 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.1467, allocations: 16.86 kB / 0.553 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.1468, allocations: 35.42 kB / 0.5531 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1468, allocations: 4 kB / 0.5531 GB, free: 9.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.1701, allocations: 3.383 MB / 0.5564 GB, free: 6.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.963, allocations: 22.2 kB / 0.5564 GB, free: 6.133 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.087268107105047]