Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 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.213/0.213, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 82.28 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1228, allocations: 62.45 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003715/0.1265, allocations: 1.94 MB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1284, allocations: 1.052 MB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1285, allocations: 4 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1289, allocations: 47.62 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1292, allocations: 99.53 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1295, allocations: 99.64 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1297, allocations: 139.6 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1298, allocations: 29.55 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.1299, allocations: 59.7 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.13, allocations: 51.66 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1301, allocations: 7.938 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1302, allocations: 43.98 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1302, allocations: 27.91 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.1303, allocations: 55.67 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1306, allocations: 147.8 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.1306, allocations: 7.984 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1306, allocations: 0 / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1306, allocations: 0 / 483.9 MB, free: 1.422 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.0006717/0.1313, allocations: 484.4 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1313, allocations: 8.031 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.1314, allocations: 16.75 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1317, allocations: 233.6 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1317, allocations: 8.312 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1317, allocations: 12.12 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1319, allocations: 110.7 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.132, allocations: 0 / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.132, allocations: 7.938 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.132, allocations: 4 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1322, allocations: 55.91 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.1328, allocations: 0.5009 MB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.1332, allocations: 94.61 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1333, allocations: 40.81 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1333, allocations: 4 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.1336, allocations: 83.38 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1336, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003884/0.134, allocations: 141.4 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.134, allocations: 63.28 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1342, allocations: 198.2 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1343, allocations: 33.7 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.1344, allocations: 112 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1344, allocations: 27.56 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.1344, allocations: 37.7 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1346, allocations: 322.8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.1347, allocations: 27.98 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1348, allocations: 68.39 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.135, allocations: 96.58 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.135, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002925/0.1353, allocations: 141.3 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1353, allocations: 12.12 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1353, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1353, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1355, allocations: 31.86 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1355, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.1355, allocations: 15.94 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1356, allocations: 4 kB / 486.8 MB, free: 14.2 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.0001163/0.1357, allocations: 129.8 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.1357, allocations: 19.81 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.1358, allocations: 17.41 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1358, allocations: 7.875 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1358, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1358, allocations: 3.984 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.136, allocations: 217.5 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.136, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.1361, allocations: 8 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1361, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1361, allocations: 7.984 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1361, allocations: 3.938 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1361, allocations: 4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.1365, allocations: 172.9 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1366, allocations: 96.89 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1366, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.1367, allocations: 11.92 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1367, allocations: 8.047 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1367, allocations: 12 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1369, allocations: 140.6 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1369, allocations: 0 / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1371, allocations: 27.94 kB / 487.7 MB, free: 13.23 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.0009206/0.138, allocations: 407.8 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1383, allocations: 84.08 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1383, allocations: 0 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.1384, allocations: 39.92 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.1387, allocations: 42.89 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.1393, allocations: 263.7 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1396, allocations: 0.7123 MB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.861e-05/0.1397, allocations: 25.39 kB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1397, allocations: 15.44 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1397, allocations: 0 / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Templates: time 0.004698/0.1444, allocations: 1.891 MB / 491.2 MB, free: 9.863 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches