Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 79.88 kB / 0.4913 GB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1388, allocations: 66 MB / 0.5558 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003067/0.1418, allocations: 1.736 MB / 0.5575 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1435, allocations: 1.042 MB / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.1436, allocations: 0 / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1439, allocations: 51.75 kB / 0.5585 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1441, allocations: 95.59 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.1443, allocations: 83.66 kB / 0.5587 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1445, allocations: 103.7 kB / 0.5588 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.1446, allocations: 12 kB / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.1447, allocations: 39.8 kB / 0.5589 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.1448, allocations: 35.77 kB / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1448, allocations: 4 kB / 0.5589 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.1449, allocations: 43.98 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.1449, allocations: 31.84 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.145, allocations: 35.75 kB / 0.559 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1452, allocations: 127.4 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1452, allocations: 4 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1452, allocations: 0 / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1452, allocations: 4 kB / 0.5591 GB, free: 2.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005744/0.1458, allocations: 438.5 kB / 0.5595 GB, free: 2.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1458, allocations: 8.031 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1459, allocations: 34.75 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.1459, allocations: 12.88 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1462, allocations: 228.8 kB / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1462, allocations: 4.375 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1462, allocations: 384 / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1463, allocations: 61.8 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1464, allocations: 0 / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1464, allocations: 0 / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1464, allocations: 3.938 kB / 0.5599 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.1464, allocations: 23.92 kB / 0.5599 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1468, allocations: 292.8 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.147, allocations: 58.66 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.147, allocations: 20.84 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1471, allocations: 0 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.1472, allocations: 71.33 kB / 0.5603 GB, free: 1.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1472, allocations: 4 kB / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.1477, allocations: 177.3 kB / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1478, allocations: 55.41 kB / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.148, allocations: 238 kB / 0.5608 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.148, allocations: 25.7 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.1481, allocations: 112.1 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1481, allocations: 23.84 kB / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.1482, allocations: 29.7 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1483, allocations: 330.8 kB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.1484, allocations: 19.98 kB / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.1485, allocations: 37.7 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1486, allocations: 53.7 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1486, allocations: 0 / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.1488, allocations: 109.8 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1488, allocations: 8.031 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1488, allocations: 0 / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1488, allocations: 4 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.1489, allocations: 16 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1489, allocations: 3.984 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.149, allocations: 4 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.149, allocations: 8 kB / 0.5615 GB, free: 15.82 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 (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.0001104/0.1491, allocations: 131.5 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.1491, allocations: 19.84 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.1492, allocations: 21.41 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1492, allocations: 0 / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1492, allocations: 0 / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1492, allocations: 3.984 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1496, allocations: 399.3 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1496, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.1497, allocations: 16.11 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1497, allocations: 0 / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1497, allocations: 11.97 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1497, allocations: 3.938 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1497, allocations: 0 / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1499, allocations: 204.3 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.15, allocations: 89.02 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.15, allocations: 4 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.1501, allocations: 15.92 kB / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.1501, allocations: 4 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1501, allocations: 7.938 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1503, allocations: 176.4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1503, allocations: 0 / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1507, allocations: 31.92 kB / 0.5626 GB, free: 14.59 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: 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.002192/0.1529, allocations: 1.088 MB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1531, allocations: 63.84 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1531, allocations: 0 / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.1531, allocations: 27.94 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1535, allocations: 27.72 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1554, allocations: 1.755 MB / 0.5655 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1558, allocations: 0.7119 MB / 0.5662 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.1558, allocations: 17.19 kB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.1559, allocations: 43.41 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1559, allocations: 4 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1809, allocations: 3.646 MB / 0.5698 GB, free: 7.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.173, allocations: 7.031 kB / 0.5698 GB, free: 7.297 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.287692983169109]