Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009602/0.0009603, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002882, allocations: 11.98 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002098/0.1335, allocations: 1.446 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1352, allocations: 0.9941 MB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.1353, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1356, allocations: 43.78 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.1359, allocations: 75.73 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1362, allocations: 63.88 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1364, allocations: 95.69 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.1365, allocations: 8 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.1366, allocations: 47.72 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.1367, allocations: 35.78 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1367, allocations: 0 / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1368, allocations: 39.98 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.1369, allocations: 23.91 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.1369, allocations: 61.39 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1371, allocations: 111.9 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1371, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1371, allocations: 4 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1371, allocations: 0 / 486.1 MB, free: 1.09 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.000505/0.1377, allocations: 401.7 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1377, allocations: 12.86 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1378, allocations: 8.844 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.138, allocations: 208.8 kB / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.138, allocations: 8.359 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1381, allocations: 4.125 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1382, allocations: 61.55 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1383, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1383, allocations: 11.98 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1383, allocations: 0 / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.1384, allocations: 15.98 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1388, allocations: 288.9 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.139, allocations: 62.61 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.371e-05/0.1391, allocations: 20.86 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1391, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.1393, allocations: 67.39 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1393, allocations: 0 / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005952/0.1399, allocations: 177.4 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.14, allocations: 51.41 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1402, allocations: 198.9 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1402, allocations: 25.7 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1403, allocations: 108.1 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1403, allocations: 27.61 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1403, allocations: 13.72 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1405, allocations: 330.8 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.1405, allocations: 19.98 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.1406, allocations: 41.58 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1407, allocations: 61.78 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1407, allocations: 0 / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002128/0.141, allocations: 105.4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.141, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.141, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.141, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.1411, allocations: 16 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1411, allocations: 8.016 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.1412, allocations: 7.938 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1412, allocations: 4 kB / 488.5 MB, free: 14.53 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.0001051/0.1413, allocations: 125.8 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1414, allocations: 11.89 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1414, allocations: 17.41 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1414, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1414, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1414, allocations: 7.875 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1419, allocations: 403.2 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.142, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.142, allocations: 8 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.142, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.142, allocations: 7.938 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.142, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.142, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1423, allocations: 212.2 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1424, allocations: 88.92 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1424, allocations: 11.94 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1425, allocations: 3.984 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1425, allocations: 4 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1426, allocations: 4 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1427, allocations: 156.7 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.143, allocations: 20 kB / 489.5 MB, free: 13.36 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.001159/0.1442, allocations: 464 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1444, allocations: 55.92 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1444, allocations: 0 / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.1445, allocations: 32.14 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1449, allocations: 35.06 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.1454, allocations: 258.3 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1456, allocations: 0.7082 MB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.1457, allocations: 16.88 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.1457, allocations: 15.44 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1458, allocations: 3.938 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004798/0.1506, allocations: 1.631 MB / 492.7 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches