Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 77.11 kB / 416.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1386, allocations: 62.45 MB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003832/0.1425, allocations: 1.777 MB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1444, allocations: 1.021 MB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1445, allocations: 3.938 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.1449, allocations: 35.84 kB / 482.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.1454, allocations: 87.73 kB / 482.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1457, allocations: 59.88 kB / 482.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1459, allocations: 95.75 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1461, allocations: 11.94 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.1462, allocations: 39.78 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1463, allocations: 35.78 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1463, allocations: 0 / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1464, allocations: 43.98 kB / 482.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1465, allocations: 27.91 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1466, allocations: 35.69 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1469, allocations: 119.8 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1469, allocations: 0 / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1469, allocations: 0 / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1469, allocations: 0 / 482.8 MB, free: 2.152 MB / 350.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.0006464/0.1475, allocations: 419 kB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1476, allocations: 12.88 kB / 483.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1477, allocations: 34.75 kB / 483.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1477, allocations: 12.75 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.148, allocations: 212.1 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.148, allocations: 4.375 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1481, allocations: 11.88 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1483, allocations: 49.67 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1483, allocations: 4 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1483, allocations: 8 kB / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1483, allocations: 0 / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.1484, allocations: 15.98 kB / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1489, allocations: 288.9 kB / 483.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1491, allocations: 62.61 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.1491, allocations: 24.78 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1492, allocations: 0 / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.1494, allocations: 71.39 kB / 484 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1494, allocations: 0 / 484 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005874/0.15, allocations: 177 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.15, allocations: 55.41 kB / 484.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1503, allocations: 210.8 kB / 484.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1503, allocations: 25.7 kB / 484.4 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.1504, allocations: 108.1 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.1504, allocations: 27.62 kB / 484.6 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1505, allocations: 25.72 kB / 484.6 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1506, allocations: 322.8 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.1507, allocations: 27.92 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.1508, allocations: 37.7 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1509, allocations: 49.72 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1509, allocations: 4 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.1511, allocations: 117.5 kB / 485.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1511, allocations: 4 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1511, allocations: 0 / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1512, allocations: 0 / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.1513, allocations: 19.98 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1513, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.1513, allocations: 7.875 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1513, allocations: 8 kB / 485.2 MB, free: 15.5 MB / 366.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.0001202/0.1515, allocations: 136.8 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.1515, allocations: 7.906 kB / 485.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.1516, allocations: 13.41 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1516, allocations: 4 kB / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1516, allocations: 0 / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1516, allocations: 7.922 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.1521, allocations: 399.6 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1521, allocations: 4.031 kB / 485.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1521, allocations: 12 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1521, allocations: 3.938 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1522, allocations: 7.984 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1522, allocations: 0 / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1522, allocations: 3.938 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1525, allocations: 204.2 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1525, allocations: 92.92 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1526, allocations: 7.938 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.1527, allocations: 3.984 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.1527, allocations: 8 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1527, allocations: 4 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1529, allocations: 152.3 kB / 486.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 486.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1532, allocations: 32.17 kB / 486.3 MB, free: 14.31 MB / 366.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.001525/0.1547, allocations: 1.081 MB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1549, allocations: 59.95 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1549, allocations: 0 / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.155, allocations: 35.92 kB / 487.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1554, allocations: 23.92 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1573, allocations: 1.704 MB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1577, allocations: 0.7083 MB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.1577, allocations: 12.55 kB / 489.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.1578, allocations: 39.42 kB / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1578, allocations: 0 / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.1731, allocations: 3.259 MB / 493.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.1733, allocations: 233.8 kB / 493.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.106, allocations: 3.938 kB / 493.4 MB, free: 7.258 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches