Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 62.44 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00301/0.1172, allocations: 1.727 MB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1193, allocations: 1.623 MB / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.1194, allocations: 0 / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1197, allocations: 43.77 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.12, allocations: 107.5 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1202, allocations: 79.61 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1204, allocations: 103.7 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.1205, allocations: 8 kB / 485.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.1206, allocations: 47.77 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1207, allocations: 43.78 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1208, allocations: 4 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1209, allocations: 115.9 kB / 485.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.121, allocations: 23.91 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.121, allocations: 27.81 kB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1213, allocations: 175.5 kB / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1213, allocations: 0 / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1213, allocations: 0 / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1213, allocations: 0 / 485.6 MB, free: 372 kB / 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.0005274/0.1218, allocations: 423 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1219, allocations: 12.03 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1219, allocations: 12.84 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1222, allocations: 215.8 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1222, allocations: 7.938 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1223, allocations: 3.984 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1224, allocations: 71.33 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1224, allocations: 0 / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1225, allocations: 3.984 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1225, allocations: 4 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.1225, allocations: 20 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1229, allocations: 288.9 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.123, allocations: 58.61 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.1231, allocations: 16.86 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1231, allocations: 8 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.1233, allocations: 63.39 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1233, allocations: 0 / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000499/0.1238, allocations: 177.1 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1238, allocations: 85.05 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.124, allocations: 161.5 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.124, allocations: 29.7 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1241, allocations: 100.1 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1241, allocations: 31.62 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1242, allocations: 25.72 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1243, allocations: 326.8 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.1244, allocations: 15.98 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.1244, allocations: 50.44 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1245, allocations: 57.75 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1246, allocations: 0 / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.1247, allocations: 105.5 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1248, allocations: 4 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1248, allocations: 0 / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1248, allocations: 4 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.1249, allocations: 12 kB / 487.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1249, allocations: 12.02 kB / 487.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.125, allocations: 8.031 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.125, allocations: 0 / 487.9 MB, free: 13.75 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 9.64e-05/0.1251, allocations: 121.8 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1251, allocations: 11.81 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.1252, allocations: 20.69 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1252, allocations: 4 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1252, allocations: 3.938 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1252, allocations: 0 / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1256, allocations: 395.3 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1256, allocations: 384 / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.1257, allocations: 11.94 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1257, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1257, allocations: 11.98 kB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1257, allocations: 0 / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1257, allocations: 0 / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.126, allocations: 204.3 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.126, allocations: 88.95 kB / 488.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1261, allocations: 4 kB / 488.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.1261, allocations: 7.984 kB / 488.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1262, allocations: 4 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1262, allocations: 4 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1263, allocations: 127.2 kB / 488.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1263, allocations: 0 / 488.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1266, allocations: 55.94 kB / 489 MB, free: 12.59 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.001144/0.1278, allocations: 0.5322 MB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.128, allocations: 63.91 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.128, allocations: 4 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.1281, allocations: 35.92 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1284, allocations: 35.91 kB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.1288, allocations: 198.8 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.129, allocations: 0.6963 MB / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.1291, allocations: 21.25 kB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1291, allocations: 15.44 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1291, allocations: 4 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004886/0.134, allocations: 2.345 MB / 492.9 MB, free: 8.789 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches