Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 76.22 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1187, allocations: 62.45 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003253/0.122, allocations: 1.98 MB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1239, allocations: 1.115 MB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1241, allocations: 4 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1245, allocations: 219.5 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.125, allocations: 187.5 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1253, allocations: 107.7 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.1257, allocations: 235.4 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1258, allocations: 25.67 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.126, allocations: 115.5 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.1263, allocations: 155.5 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1263, allocations: 4 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1264, allocations: 63.97 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.1265, allocations: 59.7 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.1266, allocations: 95.28 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.127, allocations: 227.5 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.127, allocations: 0 / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.127, allocations: 0 / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.127, allocations: 0 / 483.9 MB, free: 1.141 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.000873/0.1279, allocations: 0.5642 MB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1279, allocations: 12.02 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.128, allocations: 32.56 kB / 484.5 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1284, allocations: 288 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1284, allocations: 8.375 kB / 484.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1285, allocations: 12.11 kB / 484.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.1287, allocations: 117.9 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1288, allocations: 0 / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1288, allocations: 0 / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1288, allocations: 4 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.129, allocations: 48.05 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.1296, allocations: 480.7 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1301, allocations: 121.2 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1302, allocations: 49.81 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.1303, allocations: 0 / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.1306, allocations: 120.3 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.677e-06/0.1306, allocations: 4 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001494/0.1321, allocations: 0.5005 MB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.1322, allocations: 81.11 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.1327, allocations: 444.5 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1327, allocations: 33.64 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1329, allocations: 164.5 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.133, allocations: 71 kB / 487 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.133, allocations: 45.7 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1332, allocations: 346.8 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1333, allocations: 51.98 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1335, allocations: 99.33 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.1338, allocations: 163.5 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1338, allocations: 0 / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004156/0.1342, allocations: 233.1 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1342, allocations: 14.59 kB / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1342, allocations: 0 / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1343, allocations: 0 / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1344, allocations: 47.98 kB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1344, allocations: 4 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.1345, allocations: 11.98 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1346, allocations: 8 kB / 488 MB, free: 12.74 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.0001666/0.1347, allocations: 166.3 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.1348, allocations: 39.47 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.1349, allocations: 38.81 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1349, allocations: 4 kB / 488.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1349, allocations: 7.938 kB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1349, allocations: 3.984 kB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009846/0.1359, allocations: 0.7233 MB / 489 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1359, allocations: 8.125 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.136, allocations: 31.94 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.136, allocations: 0 / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1361, allocations: 15.92 kB / 489 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1361, allocations: 4 kB / 489 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1361, allocations: 0 / 489 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.1367, allocations: 429.8 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.1368, allocations: 108.7 kB / 489.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.1368, allocations: 8 kB / 489.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.137, allocations: 7.984 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.137, allocations: 23.92 kB / 489.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1371, allocations: 15.98 kB / 489.6 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003564/0.1374, allocations: 339 kB / 489.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1375, allocations: 0 / 489.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.1379, allocations: 48 kB / 490 MB, free: 10.62 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.001295/0.1392, allocations: 0.5006 MB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.1396, allocations: 151.8 kB / 490.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1396, allocations: 4 kB / 490.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1398, allocations: 79.97 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.1404, allocations: 68.14 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1414, allocations: 0.6276 MB / 491.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1418, allocations: 0.7755 MB / 492.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.142, allocations: 45.91 kB / 492.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.142, allocations: 27.44 kB / 492.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.142, allocations: 0 / 492.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of Templates: time 0.007211/0.1493, allocations: 3.001 MB / 495.2 MB, free: 5.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches