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.001425/0.001425, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 82.56 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1151, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003453/0.1186, allocations: 1.735 MB / 482.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1204, allocations: 1.029 MB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1205, allocations: 0 / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1209, allocations: 31.78 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1213, allocations: 95.59 kB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1216, allocations: 83.66 kB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1218, allocations: 95.7 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.122, allocations: 19.98 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.1221, allocations: 47.72 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.1222, allocations: 35.8 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1222, allocations: 4 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1223, allocations: 43.97 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1224, allocations: 15.92 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1225, allocations: 31.75 kB / 484 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1227, allocations: 123.9 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1227, allocations: 7.984 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1227, allocations: 0 / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1227, allocations: 0 / 484.1 MB, free: 1.891 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.0006006/0.1233, allocations: 406.9 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1234, allocations: 12.03 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.1235, allocations: 16.83 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1237, allocations: 204.8 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1237, allocations: 4.359 kB / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1238, allocations: 12.06 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1239, allocations: 57.67 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.124, allocations: 3.984 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.124, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.124, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.1241, allocations: 27.92 kB / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.1245, allocations: 288.8 kB / 485.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1247, allocations: 58.67 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.1247, allocations: 20.86 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1248, allocations: 0 / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.125, allocations: 71.33 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.125, allocations: 0 / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.1256, allocations: 173.2 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1256, allocations: 59.39 kB / 485.5 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1258, allocations: 198.3 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1259, allocations: 29.7 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.126, allocations: 104.1 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.126, allocations: 23.7 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.1261, allocations: 25.72 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1262, allocations: 322.8 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.1263, allocations: 23.98 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.1264, allocations: 41.7 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1265, allocations: 53.66 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1265, allocations: 0 / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.1267, allocations: 109.4 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1267, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1267, allocations: 32 / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1267, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1269, allocations: 19.98 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1269, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1269, allocations: 3.938 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1269, allocations: 4 kB / 486.4 MB, free: 15.32 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.0001124/0.1271, allocations: 125.8 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1271, allocations: 11.91 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.1272, allocations: 13.41 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1272, allocations: 4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1272, allocations: 7.938 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1272, allocations: 3.938 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1276, allocations: 399.4 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1277, allocations: 4 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.1277, allocations: 11.94 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1277, allocations: 0 / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1277, allocations: 3.938 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1277, allocations: 4.031 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1277, allocations: 7.984 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.128, allocations: 200.3 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.1281, allocations: 84.92 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1281, allocations: 12.31 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1282, allocations: 0 / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1282, allocations: 11.98 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1282, allocations: 12.12 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1284, allocations: 148.2 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1284, allocations: 3.938 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1287, allocations: 28 kB / 487.5 MB, free: 14.14 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.001142/0.1298, allocations: 452.8 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.13, allocations: 59.92 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.13, allocations: 0 / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.1301, allocations: 31.92 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1304, allocations: 34.97 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.131, allocations: 260.7 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1313, allocations: 0.708 MB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.1314, allocations: 23.42 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1314, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.004339/0.1357, allocations: 1.946 MB / 491 MB, free: 10.74 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches