Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001486/0.001487, allocations: 110.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.5 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2286/0.2286, allocations: 46.12 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 86.42 kB / 417.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1266, allocations: 62.45 MB / 479.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003455/0.1301, allocations: 1.785 MB / 481.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1319, allocations: 1.006 MB / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.132, allocations: 7.938 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.1324, allocations: 39.91 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.1328, allocations: 75.73 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.133, allocations: 75.8 kB / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1332, allocations: 99.7 kB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.1333, allocations: 15.98 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.1334, allocations: 43.78 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.1335, allocations: 39.73 kB / 482.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1335, allocations: 4 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.1336, allocations: 39.98 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.1337, allocations: 27.89 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.1337, allocations: 31.75 kB / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1339, allocations: 123.9 kB / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.134, allocations: 0 / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.134, allocations: 0 / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.134, allocations: 0 / 483 MB, free: 2.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006076/0.1346, allocations: 428.9 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1346, allocations: 8.031 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1347, allocations: 12.78 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1349, allocations: 212 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.135, allocations: 8.375 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.135, allocations: 8.109 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1351, allocations: 57.67 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1352, allocations: 0 / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1352, allocations: 0 / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1352, allocations: 4 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.1353, allocations: 27.91 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1357, allocations: 280.9 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1359, allocations: 58.67 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.136, allocations: 16.86 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.136, allocations: 8 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1362, allocations: 67.33 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1363, allocations: 0 / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005984/0.1369, allocations: 181.3 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1369, allocations: 59.41 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1372, allocations: 206.9 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1372, allocations: 29.7 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.1373, allocations: 104.1 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1373, allocations: 23.7 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.1374, allocations: 21.72 kB / 484.8 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1376, allocations: 330.7 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.1376, allocations: 20 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1377, allocations: 37.7 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1379, allocations: 69.78 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1379, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1381, allocations: 101.5 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1381, allocations: 4 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1381, allocations: 3.938 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1381, allocations: 3.984 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1382, allocations: 16 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1383, allocations: 0 / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1383, allocations: 11.97 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1383, allocations: 4 kB / 485.3 MB, free: 15.51 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 0.0001181/0.1385, allocations: 129.8 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.1385, allocations: 8.094 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1385, allocations: 25.39 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1386, allocations: 3.938 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1386, allocations: 0 / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1386, allocations: 3.938 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.1391, allocations: 399.2 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1391, allocations: 3.984 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.1391, allocations: 11.94 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1391, allocations: 0 / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1392, allocations: 7.938 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1392, allocations: 0 / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1392, allocations: 0 / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1394, allocations: 204.3 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.1395, allocations: 92.91 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1395, allocations: 7.938 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.1396, allocations: 4 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1396, allocations: 7.984 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1397, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.1398, allocations: 152.3 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1398, allocations: 11.94 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1401, allocations: 24 kB / 486.4 MB, free: 14.32 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.001674/0.1418, allocations: 461.4 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.142, allocations: 63.91 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.142, allocations: 0 / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.1421, allocations: 31.98 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1425, allocations: 28.28 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.143, allocations: 263.3 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1435, allocations: 0.7119 MB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.1435, allocations: 16.88 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.1436, allocations: 19.42 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1436, allocations: 0 / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.005234/0.1488, allocations: 1.718 MB / 489.7 MB, free: 11.15 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches