Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001608, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.4 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.2203/0.2203, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 78.34 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 62.45 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003471/0.1193, allocations: 1.934 MB / 482.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.121, allocations: 1.06 MB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.1211, allocations: 7.875 kB / 483.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1214, allocations: 39.72 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1217, allocations: 99.47 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1219, allocations: 91.7 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1221, allocations: 151.5 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1223, allocations: 29.53 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.1224, allocations: 55.72 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.1225, allocations: 51.72 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1225, allocations: 7.938 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.1226, allocations: 47.97 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1227, allocations: 23.92 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.1227, allocations: 51.67 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.123, allocations: 159.7 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.123, allocations: 0 / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.123, allocations: 0 / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.123, allocations: 0 / 484.5 MB, free: 1.484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006109/0.1236, allocations: 480.5 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1236, allocations: 12.03 kB / 485 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.1237, allocations: 16.75 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.124, allocations: 237.5 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.124, allocations: 12.31 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.124, allocations: 12.12 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1242, allocations: 104.2 kB / 485.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1243, allocations: 0 / 485.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1243, allocations: 4 kB / 485.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1243, allocations: 0 / 485.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1245, allocations: 51.91 kB / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.125, allocations: 0.5089 MB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.1253, allocations: 86.66 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1255, allocations: 36.84 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1255, allocations: 0 / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1257, allocations: 91.3 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.1257, allocations: 0 / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003894/0.1261, allocations: 149.3 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1262, allocations: 55.34 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1264, allocations: 198.2 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1264, allocations: 29.7 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.1265, allocations: 112 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1265, allocations: 35.53 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.1266, allocations: 33.7 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1267, allocations: 330.8 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.1268, allocations: 27.98 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1269, allocations: 68.39 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1271, allocations: 100.2 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1271, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.1274, allocations: 133.3 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1274, allocations: 10.5 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1274, allocations: 128 / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1274, allocations: 11.98 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1275, allocations: 16 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1276, allocations: 7.938 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.1276, allocations: 15.92 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1277, allocations: 4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001136/0.1278, allocations: 129.8 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1278, allocations: 20.27 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.1279, allocations: 13.41 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1279, allocations: 7.938 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1279, allocations: 7.938 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1279, allocations: 0 / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1281, allocations: 217.4 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1281, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.1282, allocations: 12 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1282, allocations: 4 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1282, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1282, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1282, allocations: 3.938 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.1286, allocations: 184.8 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.1287, allocations: 92.89 kB / 488.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1287, allocations: 4 kB / 488.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.1288, allocations: 7.984 kB / 488.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1288, allocations: 7.938 kB / 488.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1288, allocations: 7.984 kB / 488.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.129, allocations: 148.5 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.129, allocations: 4 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1292, allocations: 20 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009126/0.1301, allocations: 411.7 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1304, allocations: 87.83 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1304, allocations: 256 / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.1305, allocations: 40.11 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1308, allocations: 31.97 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.1313, allocations: 293.2 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1316, allocations: 0.7123 MB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.1317, allocations: 23.42 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1317, allocations: 0 / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Templates: time 0.004044/0.1357, allocations: 2.199 MB / 492.1 MB, free: 9.586 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches