Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, 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.001241/0.001242, 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.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 84.33 kB / 417.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003195/0.1213, allocations: 1.74 MB / 481.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1231, allocations: 1.029 MB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.1232, allocations: 0 / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.1235, allocations: 91.69 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1239, allocations: 119.5 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1241, allocations: 83.66 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1244, allocations: 119.7 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1245, allocations: 15.98 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.1246, allocations: 59.77 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1247, allocations: 67.75 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1247, allocations: 4 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1249, allocations: 63.91 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.125, allocations: 23.92 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.125, allocations: 43.67 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1253, allocations: 143.8 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1253, allocations: 0 / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1253, allocations: 0 / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1253, allocations: 4 kB / 483.7 MB, free: 1.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005556/0.1259, allocations: 434.8 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1259, allocations: 8.031 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1259, allocations: 12.84 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1262, allocations: 229.5 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1262, allocations: 4.375 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1262, allocations: 8.125 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1264, allocations: 57.66 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1264, allocations: 4 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1264, allocations: 8 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1264, allocations: 0 / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.1265, allocations: 19.98 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.1269, allocations: 304.7 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1271, allocations: 66.55 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1272, allocations: 24.97 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1272, allocations: 4.078 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1274, allocations: 75.3 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1274, allocations: 0 / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000748/0.1282, allocations: 244.9 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1282, allocations: 63.28 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1285, allocations: 238.1 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1285, allocations: 29.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.1286, allocations: 108.1 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.1286, allocations: 39.53 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1287, allocations: 25.72 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1288, allocations: 322.8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.1289, allocations: 35.98 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.129, allocations: 53.19 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1292, allocations: 81.7 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1292, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002167/0.1294, allocations: 129.4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1294, allocations: 8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1294, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1295, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1296, allocations: 28.02 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1296, allocations: 3.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.1297, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1297, allocations: 4 kB / 486.3 MB, free: 14.73 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 (13): * Single equations (assignments): 13 * 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.0001103/0.1298, allocations: 129.8 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1298, allocations: 15.81 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.1299, allocations: 29.33 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1299, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1299, allocations: 3.938 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1299, allocations: 8 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.1304, allocations: 444 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.1305, allocations: 4 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.1305, allocations: 23.92 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1305, allocations: 3.984 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1305, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1305, allocations: 4.062 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1306, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1308, allocations: 229 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1309, allocations: 93 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1309, allocations: 11.94 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.131, allocations: 8 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.131, allocations: 7.984 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1311, allocations: 8 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1312, allocations: 172.4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1315, allocations: 28 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001216/0.1327, allocations: 0.5035 MB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1329, allocations: 83.84 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.133, allocations: 4 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.1331, allocations: 43.92 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1334, allocations: 32.27 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.134, allocations: 288.8 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1344, allocations: 0.7235 MB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1344, allocations: 24.62 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.1345, allocations: 15.44 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1345, allocations: 4 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.00482/0.1393, allocations: 1.985 MB / 491.2 MB, free: 9.848 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches