Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 116.9 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002971/0.1244, allocations: 1.688 MB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.126, allocations: 1.002 MB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.126, allocations: 0 / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1263, allocations: 67.72 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1267, allocations: 103.6 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1268, allocations: 71.69 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.127, allocations: 107.7 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.1271, allocations: 8.234 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.1272, allocations: 47.77 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.1273, allocations: 47.83 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1273, allocations: 4 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-05/0.1274, allocations: 35.92 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1275, allocations: 19.92 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1275, allocations: 31.73 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1277, allocations: 107.6 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1277, allocations: 0 / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1277, allocations: 4 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1277, allocations: 0 / 484.8 MB, free: 1.184 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.0005806/0.1283, allocations: 406.9 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1284, allocations: 8.031 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1284, allocations: 12.84 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1287, allocations: 216.7 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1288, allocations: 384 / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1288, allocations: 4.125 kB / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1289, allocations: 57.67 kB / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1289, allocations: 0 / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.129, allocations: 4 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.129, allocations: 0 / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.1291, allocations: 15.98 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.1293, allocations: 181.7 kB / 485.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1294, allocations: 54.55 kB / 485.7 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1295, allocations: 28.78 kB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1295, allocations: 0 / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1297, allocations: 63.39 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1297, allocations: 0 / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002958/0.13, allocations: 101.4 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1301, allocations: 51.41 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1303, allocations: 194.4 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1303, allocations: 33.7 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.1304, allocations: 100.1 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.1304, allocations: 3.906 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1305, allocations: 29.64 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1306, allocations: 326.8 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.1307, allocations: 12 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.1307, allocations: 29.7 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.1308, allocations: 45.64 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1308, allocations: 0 / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001545/0.131, allocations: 85.44 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.131, allocations: 4 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.131, allocations: 0 / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.131, allocations: 4 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.1311, allocations: 19.95 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1311, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.1312, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1312, allocations: 4 kB / 486.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.0001138/0.1313, allocations: 132.3 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1314, allocations: 15.75 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.1314, allocations: 13.31 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1314, allocations: 0 / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1314, allocations: 0 / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1314, allocations: 8 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.1316, allocations: 193.5 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1316, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.1316, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1316, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1316, allocations: 4 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1316, allocations: 0 / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1316, allocations: 0 / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1318, allocations: 116.9 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1319, allocations: 85.02 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1319, allocations: 3.984 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.132, allocations: 0 / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.132, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.132, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1321, allocations: 148.2 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1321, allocations: 0 / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1324, allocations: 23.98 kB / 487.6 MB, free: 14.06 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.0009767/0.1333, allocations: 411.4 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1335, allocations: 43.92 kB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1335, allocations: 0 / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.1336, allocations: 16 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1338, allocations: 30.91 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1342, allocations: 205.9 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1345, allocations: 0.705 MB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1346, allocations: 24.45 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1346, allocations: 11.44 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1346, allocations: 0 / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004536/0.1392, allocations: 1.497 MB / 490.5 MB, free: 11.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches