Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001158, allocations: 94 kB / 17.35 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 200 kB / 18.28 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.19 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 63.55 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002715/0.1386, allocations: 1.442 MB / 484.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1404, allocations: 0.998 MB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.1405, allocations: 3.938 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1408, allocations: 35.91 kB / 485.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1411, allocations: 75.73 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1413, allocations: 71.8 kB / 485.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1415, allocations: 91.7 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1416, allocations: 12 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1417, allocations: 39.78 kB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.1418, allocations: 39.72 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1419, allocations: 0 / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.142, allocations: 39.98 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1421, allocations: 23.91 kB / 486 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.1421, allocations: 61.44 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1423, allocations: 107.9 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1424, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1424, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1424, allocations: 4 kB / 486.1 MB, free: 1.113 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.0005985/0.143, allocations: 407 kB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.143, allocations: 8.875 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1431, allocations: 8.844 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1433, allocations: 212.8 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1434, allocations: 4.375 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1434, allocations: 8.062 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1436, allocations: 57.66 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1436, allocations: 4 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1436, allocations: 4 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1436, allocations: 0 / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.1437, allocations: 19.92 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1441, allocations: 292.7 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1443, allocations: 58.67 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1443, allocations: 24.84 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1444, allocations: 0 / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.1445, allocations: 71.33 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.644e-06/0.1446, allocations: 0 / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005557/0.1451, allocations: 177.2 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.1452, allocations: 51.41 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1454, allocations: 194.9 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1454, allocations: 29.7 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1455, allocations: 104.1 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1455, allocations: 19.72 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.1455, allocations: 13.72 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1456, allocations: 330.8 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.1457, allocations: 19.98 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.1458, allocations: 37.7 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1459, allocations: 69.69 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1459, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.1461, allocations: 97.5 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1461, allocations: 4 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1461, allocations: 3.938 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1462, allocations: 4 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.1463, allocations: 19.98 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1463, allocations: 4.031 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.1463, allocations: 7.938 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1464, allocations: 4 kB / 488.4 MB, free: 14.55 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.0001032/0.1465, allocations: 128.6 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1465, allocations: 7.906 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.1465, allocations: 21.39 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1466, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1466, allocations: 4.312 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.1466, allocations: 7.938 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.147, allocations: 399.2 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.147, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.1471, allocations: 15.92 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1471, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1471, allocations: 8.125 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1471, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1471, allocations: 3.938 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1474, allocations: 200.3 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.1474, allocations: 92.91 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1475, allocations: 7.938 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1476, allocations: 4 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1476, allocations: 7.984 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1476, allocations: 4 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1478, allocations: 156.7 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1478, allocations: 3.938 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1481, allocations: 20 kB / 489.5 MB, free: 13.38 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.001099/0.1492, allocations: 464.4 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1494, allocations: 55.95 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1494, allocations: 3.938 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.1495, allocations: 32.14 kB / 490.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1499, allocations: 30.95 kB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1503, allocations: 254.3 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1506, allocations: 0.7082 MB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.1507, allocations: 16.88 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1507, allocations: 19.42 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1507, allocations: 0 / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.004477/0.1552, allocations: 1.633 MB / 492.7 MB, free: 10.29 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches