Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.00147, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 79.48 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 62.44 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003391/0.119, allocations: 1.73 MB / 481.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1207, allocations: 1.025 MB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.1207, allocations: 0 / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.121, allocations: 39.75 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1213, allocations: 91.61 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1215, allocations: 79.67 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1217, allocations: 103.7 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1218, allocations: 15.98 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.1219, allocations: 43.73 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.122, allocations: 39.78 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.122, allocations: 4 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.1221, allocations: 43.97 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1222, allocations: 11.94 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1223, allocations: 39.73 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1225, allocations: 119.9 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.1225, allocations: 4 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1225, allocations: 0 / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1225, allocations: 3.938 kB / 483.4 MB, free: 1.91 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.0006409/0.1232, allocations: 414.9 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1232, allocations: 8.031 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.1233, allocations: 8.844 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1236, allocations: 212.8 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1236, allocations: 12.31 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1236, allocations: 4.125 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1238, allocations: 53.67 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1238, allocations: 0 / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1238, allocations: 0 / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1238, allocations: 4 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.1239, allocations: 23.92 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1244, allocations: 288.8 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1246, allocations: 58.67 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.1246, allocations: 24.84 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1246, allocations: 0 / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1249, allocations: 75.33 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1249, allocations: 4 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005229/0.1254, allocations: 173.2 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1255, allocations: 51.41 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1256, allocations: 198.4 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1256, allocations: 25.7 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1257, allocations: 104.1 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1257, allocations: 19.89 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1258, allocations: 25.7 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1259, allocations: 334.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.126, allocations: 12 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.126, allocations: 37.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1261, allocations: 61.64 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1261, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.1263, allocations: 109.5 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1263, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1264, allocations: 3.984 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1264, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.1265, allocations: 12 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1265, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1265, allocations: 8.125 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1265, allocations: 3.984 kB / 485.7 MB, free: 15.34 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 8.907e-05/0.1266, allocations: 129.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1267, allocations: 15.89 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.1267, allocations: 17.39 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1267, allocations: 7.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1267, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1268, allocations: 3.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.1272, allocations: 395.2 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1272, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.1272, allocations: 15.92 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1272, allocations: 4.031 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1272, allocations: 3.938 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1272, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1272, allocations: 384 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1275, allocations: 200.5 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.1275, allocations: 88.92 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1275, allocations: 7.922 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1276, allocations: 16 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1277, allocations: 4 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1277, allocations: 3.984 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1278, allocations: 148.2 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1278, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1281, allocations: 27.98 kB / 486.8 MB, free: 14.16 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.001015/0.1291, allocations: 461.4 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1293, allocations: 63.91 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1293, allocations: 0 / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.1294, allocations: 28 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1297, allocations: 28.09 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.1302, allocations: 230.9 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1305, allocations: 0.708 MB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.119e-05/0.1305, allocations: 17.19 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1306, allocations: 19.42 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1306, allocations: 0 / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.004312/0.1349, allocations: 1.738 MB / 490.1 MB, free: 11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches