Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001488, allocations: 111.8 kB / 17.04 MB, free: 5.812 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.001613/0.001613, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.237/0.237, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 67.11 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003024/0.1421, allocations: 1.659 MB / 443.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1432, allocations: 0.7789 MB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.1433, allocations: 3.938 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1436, allocations: 47.81 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1438, allocations: 67.69 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.144, allocations: 83.77 kB / 444.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1442, allocations: 87.7 kB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.1443, allocations: 7.984 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.1443, allocations: 39.78 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.1444, allocations: 27.86 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1444, allocations: 4 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.1445, allocations: 23.98 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1446, allocations: 31.91 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1446, allocations: 39.62 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1448, allocations: 123.6 kB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1448, allocations: 0 / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1448, allocations: 0 / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1448, allocations: 0 / 445 MB, free: 3.113 MB / 318.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.0004598/0.1453, allocations: 434.7 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1453, allocations: 11.89 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1454, allocations: 12.83 kB / 445.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1456, allocations: 215.8 kB / 445.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1456, allocations: 384 / 445.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1456, allocations: 12.11 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1458, allocations: 53.62 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1458, allocations: 0 / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1458, allocations: 0 / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1458, allocations: 0 / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.1459, allocations: 19.97 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.146, allocations: 189.7 kB / 445.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1462, allocations: 54.62 kB / 446 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.1462, allocations: 24.78 kB / 446 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1463, allocations: 0 / 446 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.1464, allocations: 67.23 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1464, allocations: 3.938 kB / 446.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002542/0.1467, allocations: 93.58 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.1467, allocations: 59.41 kB / 446.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1469, allocations: 258.5 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.1469, allocations: 29.7 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.147, allocations: 112.1 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.147, allocations: 19.73 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.147, allocations: 17.72 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.1471, allocations: 326.8 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.1471, allocations: 19.98 kB / 447 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.1472, allocations: 29.66 kB / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.1473, allocations: 41.7 kB / 447.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1473, allocations: 0 / 447.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000128/0.1474, allocations: 93.62 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1474, allocations: 5.25 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1475, allocations: 7.984 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1475, allocations: 4.031 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.1476, allocations: 12 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1476, allocations: 0 / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1476, allocations: 4 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1476, allocations: 0 / 447.2 MB, free: 0.6836 MB / 318.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 9.33e-05/0.1477, allocations: 141.6 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1478, allocations: 19.81 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1478, allocations: 16.98 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1478, allocations: 4 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1478, allocations: 4 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1478, allocations: 0 / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.148, allocations: 197.5 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.148, allocations: 0 / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.148, allocations: 4 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.148, allocations: 0 / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.148, allocations: 3.984 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.148, allocations: 4 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.148, allocations: 0 / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1482, allocations: 112.9 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.1483, allocations: 92.94 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1483, allocations: 128 / 447.8 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.1484, allocations: 7.938 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1484, allocations: 4 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1484, allocations: 7.984 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1486, allocations: 188.5 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1486, allocations: 4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1489, allocations: 20 kB / 448 MB, free: 15.77 MB / 334.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.001071/0.1499, allocations: 420.3 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1501, allocations: 43.97 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1501, allocations: 3.938 kB / 448.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.75e-05/0.1502, allocations: 16 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1505, allocations: 35.84 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.151, allocations: 258.8 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1513, allocations: 0.7119 MB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.439e-05/0.1513, allocations: 12.8 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1514, allocations: 19.44 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1514, allocations: 0 / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.004313/0.1557, allocations: 1.491 MB / 451 MB, free: 12.82 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches