Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 222.9 MB / 241.8 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2913/0.2913, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 72.3 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003857/0.1355, allocations: 1.725 MB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1372, allocations: 0.8459 MB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.1373, allocations: 4 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1377, allocations: 55.8 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1379, allocations: 55.77 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1382, allocations: 91.83 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1383, allocations: 87.69 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.1384, allocations: 4 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.1385, allocations: 43.78 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.1386, allocations: 35.78 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1386, allocations: 0 / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.1387, allocations: 24 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1388, allocations: 23.91 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.1388, allocations: 43.67 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.139, allocations: 123.8 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.139, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.139, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.139, allocations: 0 / 471.7 MB, free: 11.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005456/0.1396, allocations: 422.8 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1396, allocations: 12.03 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.1397, allocations: 12.75 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1399, allocations: 215.9 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1399, allocations: 4.375 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1399, allocations: 8.125 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1401, allocations: 49.67 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1401, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1401, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1401, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.1402, allocations: 19.92 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.1404, allocations: 185.7 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1406, allocations: 62.61 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.1407, allocations: 20.8 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1407, allocations: 3.984 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.1409, allocations: 63.39 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.655e-06/0.1409, allocations: 0 / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003142/0.1412, allocations: 109.4 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1413, allocations: 55.41 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1416, allocations: 262.9 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1416, allocations: 25.7 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.1417, allocations: 112.1 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1417, allocations: 11.91 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1418, allocations: 17.72 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1419, allocations: 326.8 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.142, allocations: 16 kB / 473.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.142, allocations: 33.7 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1421, allocations: 49.58 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1421, allocations: 0 / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/0.1423, allocations: 93.38 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1423, allocations: 6.5 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1423, allocations: 3.984 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1424, allocations: 8.031 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.1424, allocations: 8 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1425, allocations: 8.125 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1425, allocations: 7.938 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1425, allocations: 0 / 473.9 MB, free: 9.254 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001226/0.1427, allocations: 137.8 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.1427, allocations: 11.81 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.1427, allocations: 20.98 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1427, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1428, allocations: 8 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1428, allocations: 0 / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1429, allocations: 193.6 kB / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1429, allocations: 0 / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.143, allocations: 7.938 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.143, allocations: 0 / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.143, allocations: 320 / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.143, allocations: 0 / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.143, allocations: 4 kB / 474.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1432, allocations: 120.9 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1433, allocations: 88.92 kB / 474.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1433, allocations: 0 / 474.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.1433, allocations: 11.92 kB / 474.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1434, allocations: 4 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1434, allocations: 0 / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1436, allocations: 196.2 kB / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1436, allocations: 0 / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00021/0.1438, allocations: 23.98 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.1447, allocations: 417.7 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.1449, allocations: 39.98 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1449, allocations: 0 / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.1449, allocations: 19.98 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1452, allocations: 31.58 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.1457, allocations: 280.4 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.146, allocations: 0.7122 MB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.1461, allocations: 16.41 kB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1461, allocations: 15.44 kB / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1461, allocations: 0 / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004338/0.1505, allocations: 1.457 MB / 477.6 MB, free: 5.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches