Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008516, allocations: 96.94 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 205.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 63.57 MB / 483.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002368/0.1244, allocations: 1.403 MB / 485.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1262, allocations: 0.9668 MB / 486.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.1264, allocations: 0 / 486.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1267, allocations: 71.8 kB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.127, allocations: 83.72 kB / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1272, allocations: 59.89 kB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1274, allocations: 103.7 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.1274, allocations: 4.234 kB / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.1275, allocations: 47.72 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1276, allocations: 39.83 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1276, allocations: 4 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.1277, allocations: 35.98 kB / 486.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1278, allocations: 23.91 kB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.1279, allocations: 57.39 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.128, allocations: 72.11 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.128, allocations: 11.94 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.128, allocations: 0 / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.128, allocations: 0 / 486.7 MB, free: 1.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000493/0.1285, allocations: 387.1 kB / 487.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1286, allocations: 12.88 kB / 487.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.1286, allocations: 16.73 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1289, allocations: 208.8 kB / 487.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1289, allocations: 384 / 487.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1289, allocations: 12.11 kB / 487.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1291, allocations: 45.62 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.1291, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1291, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1291, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.1292, allocations: 15.98 kB / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1294, allocations: 185.7 kB / 487.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1295, allocations: 54.61 kB / 487.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.1296, allocations: 24.78 kB / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1296, allocations: 0 / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1298, allocations: 75.41 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1298, allocations: 0 / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002555/0.1301, allocations: 89.48 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1301, allocations: 55.41 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1303, allocations: 190.9 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1303, allocations: 25.7 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.1304, allocations: 104.1 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1304, allocations: 7.906 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.1305, allocations: 21.66 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1306, allocations: 322.8 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.1306, allocations: 15.98 kB / 488.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.1307, allocations: 33.61 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.1308, allocations: 37.72 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1308, allocations: 0 / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.131, allocations: 97.36 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.131, allocations: 4 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.131, allocations: 4.297 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.131, allocations: 3.938 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.1311, allocations: 12 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1311, allocations: 4 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1312, allocations: 4 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1312, allocations: 4 kB / 488.8 MB, free: 14.89 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 (7): * Single equations (assignments): 7 * 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.0001078/0.1313, allocations: 136.4 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.1313, allocations: 7.906 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.1314, allocations: 24.92 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1314, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1314, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1314, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1316, allocations: 193.4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1316, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.1316, allocations: 7.984 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1316, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1316, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1316, allocations: 4 kB / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1316, allocations: 0 / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1318, allocations: 113 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.1319, allocations: 85.02 kB / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1319, allocations: 0 / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.1319, allocations: 11.92 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.132, allocations: 4 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.132, allocations: 4 kB / 489.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1321, allocations: 152.7 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1321, allocations: 4 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.1324, allocations: 16 kB / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009163/0.1333, allocations: 407.1 kB / 489.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1335, allocations: 39.97 kB / 489.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1335, allocations: 0 / 489.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.1335, allocations: 27.98 kB / 490 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1338, allocations: 34.09 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.1343, allocations: 246.8 kB / 490.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1346, allocations: 0.7083 MB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1346, allocations: 15.44 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1346, allocations: 0 / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.003529/0.1382, allocations: 1.704 MB / 492.7 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches