Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 212.1 kB / 19.25 MB, free: 3.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 80.19 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 62.45 MB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003646/0.124, allocations: 1.915 MB / 482.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1261, allocations: 1.123 MB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1263, allocations: 7.938 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.1267, allocations: 155.5 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.1272, allocations: 191.2 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1275, allocations: 115.6 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1279, allocations: 243.3 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.128, allocations: 21.69 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1282, allocations: 115.5 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1284, allocations: 135.5 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1284, allocations: 8 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1286, allocations: 63.95 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.1287, allocations: 51.78 kB / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1288, allocations: 87.34 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1291, allocations: 215.5 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1292, allocations: 0 / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1292, allocations: 4 kB / 485.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1292, allocations: 0 / 485.1 MB, free: 0.832 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007339/0.1299, allocations: 0.5409 MB / 485.7 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.13, allocations: 8.031 kB / 485.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.13, allocations: 24.66 kB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1304, allocations: 275.5 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1304, allocations: 8.375 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1305, allocations: 8.125 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1307, allocations: 118.2 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1307, allocations: 0 / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1308, allocations: 8 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1308, allocations: 3.938 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1309, allocations: 39.97 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.1315, allocations: 480.6 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.1319, allocations: 121.2 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.132, allocations: 49.7 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1321, allocations: 7.984 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.1324, allocations: 113.1 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.1324, allocations: 0 / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001341/0.1337, allocations: 0.4929 MB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.1338, allocations: 85.09 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.1342, allocations: 367.3 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1342, allocations: 33.7 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1343, allocations: 148.5 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.1344, allocations: 63.09 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.1345, allocations: 49.64 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1346, allocations: 342.8 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1348, allocations: 59.98 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1349, allocations: 91.39 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1352, allocations: 151.4 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1352, allocations: 0 / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003986/0.1356, allocations: 237.1 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1356, allocations: 11.94 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1356, allocations: 0 / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1357, allocations: 0 / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1358, allocations: 39.98 kB / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1358, allocations: 7.938 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.1359, allocations: 15.92 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1359, allocations: 4 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001402/0.1361, allocations: 157.9 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1361, allocations: 31.56 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.1362, allocations: 41.81 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1362, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1362, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1363, allocations: 4 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/0.1371, allocations: 0.7271 MB / 490 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1372, allocations: 4 kB / 490 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.1372, allocations: 31.92 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1372, allocations: 0 / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1373, allocations: 11.98 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1373, allocations: 4 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1373, allocations: 4.125 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.1378, allocations: 420.7 kB / 490.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1378, allocations: 104.8 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.1379, allocations: 8 kB / 490.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.138, allocations: 8 kB / 490.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1381, allocations: 19.91 kB / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1381, allocations: 16 kB / 490.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1384, allocations: 277.9 kB / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1384, allocations: 4 kB / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.1388, allocations: 48 kB / 491 MB, free: 10.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001219/0.14, allocations: 0.5172 MB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1404, allocations: 167.8 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1404, allocations: 0 / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.1406, allocations: 75.91 kB / 491.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.1411, allocations: 67.31 kB / 491.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.142, allocations: 0.5294 MB / 492.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1423, allocations: 0.7635 MB / 493.1 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.1424, allocations: 35.42 kB / 493.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1424, allocations: 0 / 493.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of Templates: time 0.006143/0.1486, allocations: 3.599 MB / 496.7 MB, free: 4.945 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches