Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 108.5 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.00132/0.001319, 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.495/1.495, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 87.66 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1343, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003984/0.1383, allocations: 1.789 MB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1402, allocations: 1.017 MB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1403, allocations: 0 / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1406, allocations: 39.77 kB / 482.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.141, allocations: 83.73 kB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1413, allocations: 55.89 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1415, allocations: 103.7 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.1416, allocations: 11.98 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1417, allocations: 35.8 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.1418, allocations: 39.77 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1418, allocations: 0 / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1419, allocations: 43.98 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.142, allocations: 27.86 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.142, allocations: 35.73 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1423, allocations: 107.9 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1423, allocations: 0 / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1423, allocations: 0 / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1423, allocations: 0 / 482.8 MB, free: 2.195 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.0005743/0.1429, allocations: 426.9 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1429, allocations: 8.875 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.143, allocations: 38.73 kB / 483.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.143, allocations: 16.78 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1433, allocations: 206.6 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1433, allocations: 8.359 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1433, allocations: 7.938 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1435, allocations: 49.67 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1435, allocations: 7.906 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1435, allocations: 4 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1435, allocations: 0 / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.1436, allocations: 19.98 kB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.144, allocations: 288.8 kB / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1442, allocations: 58.67 kB / 483.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1443, allocations: 16.86 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1443, allocations: 3.984 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1445, allocations: 75.39 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.767e-06/0.1446, allocations: 0 / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005869/0.1451, allocations: 169.2 kB / 484.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1452, allocations: 51.41 kB / 484.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1454, allocations: 206.7 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1454, allocations: 25.7 kB / 484.4 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1455, allocations: 100.1 kB / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1455, allocations: 27.7 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1456, allocations: 25.72 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1458, allocations: 322.8 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.1458, allocations: 23.98 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.1459, allocations: 33.7 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.146, allocations: 53.72 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.146, allocations: 4 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.1462, allocations: 109.4 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1463, allocations: 7.938 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1463, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1463, allocations: 0 / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.1464, allocations: 19.92 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1464, allocations: 0 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.1465, allocations: 7.938 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1465, allocations: 4 kB / 485.2 MB, free: 15.57 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.0001243/0.1466, allocations: 132.8 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1467, allocations: 8.094 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.1467, allocations: 17.41 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1467, allocations: 3.938 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1467, allocations: 0 / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1467, allocations: 3.938 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1472, allocations: 407.4 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1472, allocations: 3.984 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.1473, allocations: 8 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1473, allocations: 3.938 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1473, allocations: 4 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1473, allocations: 3.984 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1473, allocations: 0 / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1476, allocations: 204.3 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.1476, allocations: 88.92 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1477, allocations: 8.312 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1478, allocations: 4 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1478, allocations: 7.984 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1478, allocations: 8 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.148, allocations: 152.7 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.148, allocations: 0 / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1483, allocations: 24 kB / 486.2 MB, free: 14.39 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.001478/0.1497, allocations: 1.089 MB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.15, allocations: 63.91 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.15, allocations: 0 / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.15, allocations: 27.98 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1504, allocations: 23.97 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1524, allocations: 1.661 MB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1527, allocations: 0.7121 MB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.1528, allocations: 20.8 kB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.1529, allocations: 39.42 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1529, allocations: 0 / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1672, allocations: 3.197 MB / 493.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.1675, allocations: 237.1 kB / 493.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.11, allocations: 0 / 493.3 MB, free: 7.426 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches