Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 80.77 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 62.45 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003554/0.1221, allocations: 1.989 MB / 482.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1239, allocations: 1.048 MB / 483.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.124, allocations: 3.938 kB / 483.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1243, allocations: 43.83 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1247, allocations: 79.67 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1249, allocations: 75.88 kB / 483.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1252, allocations: 155.5 kB / 483.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1253, allocations: 21.55 kB / 483.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.1254, allocations: 55.73 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.1255, allocations: 55.69 kB / 483.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1255, allocations: 8 kB / 483.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1256, allocations: 51.86 kB / 483.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1257, allocations: 27.92 kB / 483.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.1258, allocations: 51.66 kB / 483.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.126, allocations: 116 kB / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.126, allocations: 0 / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.126, allocations: 0 / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.126, allocations: 4 kB / 484 MB, free: 1.77 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.0006707/0.1267, allocations: 484.4 kB / 484.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1268, allocations: 8.031 kB / 484.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.1268, allocations: 20.75 kB / 484.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1271, allocations: 233.5 kB / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1271, allocations: 4.375 kB / 484.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1271, allocations: 12.12 kB / 484.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1274, allocations: 111 kB / 484.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1274, allocations: 0 / 484.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1274, allocations: 7.938 kB / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1275, allocations: 8 kB / 484.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1276, allocations: 39.97 kB / 484.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.1282, allocations: 0.5165 MB / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.1286, allocations: 82.67 kB / 485.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.1287, allocations: 44.77 kB / 485.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1287, allocations: 0 / 485.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.129, allocations: 87.38 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.129, allocations: 0 / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004148/0.1294, allocations: 141.4 kB / 485.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1295, allocations: 55.34 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1297, allocations: 202.2 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1297, allocations: 29.7 kB / 486.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.1298, allocations: 112 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1298, allocations: 43.53 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1299, allocations: 21.72 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.13, allocations: 326.8 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/0.1301, allocations: 31.97 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1303, allocations: 67.59 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1305, allocations: 104.5 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1305, allocations: 0 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002783/0.1308, allocations: 137.4 kB / 486.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1308, allocations: 4 kB / 486.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1308, allocations: 4 kB / 486.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1308, allocations: 0 / 486.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1309, allocations: 35.86 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1309, allocations: 0 / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.131, allocations: 7.938 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.131, allocations: 4 kB / 486.9 MB, free: 14.56 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.0001181/0.1312, allocations: 133.9 kB / 487.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1312, allocations: 15.8 kB / 487.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.1313, allocations: 25.39 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1313, allocations: 3.938 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1313, allocations: 0 / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1313, allocations: 0 / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1315, allocations: 209.5 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1315, allocations: 7.875 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.1316, allocations: 15.98 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1316, allocations: 0 / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1316, allocations: 0 / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1316, allocations: 11.94 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1316, allocations: 0 / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.132, allocations: 177 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.1321, allocations: 92.89 kB / 487.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1321, allocations: 7.984 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.1322, allocations: 11.94 kB / 487.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1322, allocations: 12.05 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1322, allocations: 8 kB / 487.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1324, allocations: 140.4 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1324, allocations: 0 / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1326, allocations: 28.12 kB / 487.8 MB, free: 13.58 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.001439/0.1341, allocations: 394.9 kB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.1343, allocations: 87.83 kB / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1344, allocations: 0 / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1345, allocations: 43.86 kB / 488.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1348, allocations: 39.34 kB / 488.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.1354, allocations: 329.8 kB / 488.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1357, allocations: 0.7162 MB / 489.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1358, allocations: 15.81 kB / 489.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1358, allocations: 0 / 489.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004306/0.1401, allocations: 2.214 MB / 491.6 MB, free: 9.832 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches