Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.8 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.2086/0.2086, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 93.39 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 62.45 MB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003078/0.1171, allocations: 1.72 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1188, allocations: 1.033 MB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.1188, allocations: 0 / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.1191, allocations: 47.75 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1195, allocations: 103.5 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.1197, allocations: 79.67 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1198, allocations: 103.7 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.12, allocations: 15.98 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.12, allocations: 43.8 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.1201, allocations: 31.78 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1202, allocations: 8 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-05/0.1203, allocations: 39.98 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1203, allocations: 27.86 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.1204, allocations: 51.59 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1206, allocations: 139.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1206, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1206, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1206, allocations: 0 / 483.5 MB, free: 1.789 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.0005207/0.1211, allocations: 446.7 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1212, allocations: 12.03 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1212, allocations: 20.73 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1215, allocations: 219.9 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1215, allocations: 4.375 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1215, allocations: 8.125 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1217, allocations: 49.67 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1217, allocations: 4 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1217, allocations: 7.938 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1217, allocations: 0 / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.1218, allocations: 19.98 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1221, allocations: 300.8 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1223, allocations: 58.62 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1224, allocations: 20.84 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1224, allocations: 4 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1226, allocations: 71.39 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1226, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004995/0.1231, allocations: 185 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1232, allocations: 59.39 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1234, allocations: 284.2 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1235, allocations: 25.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.1235, allocations: 120.1 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1236, allocations: 23.66 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1236, allocations: 25.7 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1237, allocations: 334.7 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.1238, allocations: 23.98 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.1239, allocations: 33.7 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.124, allocations: 53.72 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.124, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1242, allocations: 109.4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1242, allocations: 10.66 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1242, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1242, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.1243, allocations: 15.98 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1243, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.1244, allocations: 7.875 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1244, allocations: 8.031 kB / 486 MB, free: 15.04 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.0001057/0.1245, allocations: 140.6 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1246, allocations: 15.81 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1246, allocations: 29.38 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1246, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1246, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.1246, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1251, allocations: 411.5 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1251, allocations: 192 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1251, allocations: 11.98 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1252, allocations: 3.938 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1252, allocations: 7.938 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1252, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1252, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1254, allocations: 216.2 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1255, allocations: 88.92 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1255, allocations: 4.312 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.1256, allocations: 7.984 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1256, allocations: 8 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1256, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1258, allocations: 216.6 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1261, allocations: 31.98 kB / 487.2 MB, free: 13.75 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.001076/0.1272, allocations: 449.3 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.1274, allocations: 59.91 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1274, allocations: 4.062 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1275, allocations: 31.94 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1279, allocations: 31.03 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1284, allocations: 307.7 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1286, allocations: 0.7197 MB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.1287, allocations: 21.19 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.1287, allocations: 19.42 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1287, allocations: 0 / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.00439/0.1331, allocations: 1.76 MB / 490.6 MB, free: 10.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches