Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009633/0.0009634, allocations: 100.9 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.346/0.346, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001045, allocations: 47.92 kB / 429.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.135, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003067/0.1381, allocations: 1.621 MB / 488.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1395, allocations: 0.9103 MB / 489.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.1395, allocations: 0 / 489.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1398, allocations: 19.91 kB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1399, allocations: 35.86 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1402, allocations: 71.84 kB / 489.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1403, allocations: 43.91 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.1404, allocations: 15.98 kB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.1405, allocations: 23.86 kB / 489.7 MB, free: 9.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1406, allocations: 23.91 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1406, allocations: 7.938 kB / 489.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.1407, allocations: 43.92 kB / 489.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.1408, allocations: 15.97 kB / 489.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1408, allocations: 19.88 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.141, allocations: 88 kB / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.141, allocations: 0 / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.141, allocations: 0 / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.141, allocations: 0 / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000499/0.1415, allocations: 383.2 kB / 490.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1416, allocations: 12.03 kB / 490.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1416, allocations: 4.938 kB / 490.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1418, allocations: 188.1 kB / 490.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1419, allocations: 8.375 kB / 490.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1419, allocations: 4.281 kB / 490.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.142, allocations: 63.53 kB / 490.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1421, allocations: 0 / 490.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1421, allocations: 0 / 490.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1421, allocations: 4 kB / 490.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.1422, allocations: 19.98 kB / 490.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1425, allocations: 276.8 kB / 490.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1427, allocations: 38.56 kB / 490.9 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.1428, allocations: 20.94 kB / 490.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1428, allocations: 0 / 490.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1429, allocations: 30.56 kB / 491 MB, free: 8.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1429, allocations: 8 kB / 491 MB, free: 8.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005554/0.1434, allocations: 133.3 kB / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.1435, allocations: 77.11 kB / 491.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1436, allocations: 134.2 kB / 491.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1437, allocations: 25.7 kB / 491.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1437, allocations: 104 kB / 491.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1438, allocations: 11.81 kB / 491.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1438, allocations: 17.72 kB / 491.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1439, allocations: 326.8 kB / 491.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.144, allocations: 19.92 kB / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.1441, allocations: 29.7 kB / 491.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1442, allocations: 53.05 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1442, allocations: 0 / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001711/0.1444, allocations: 81.58 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1444, allocations: 4 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1445, allocations: 3.938 kB / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1445, allocations: 0 / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.1445, allocations: 19.92 kB / 492 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1445, allocations: 0 / 492 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.1446, allocations: 8 kB / 492 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1446, allocations: 288 / 492 MB, free: 7.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.787e-05/0.1447, allocations: 125.8 kB / 492.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1447, allocations: 4 kB / 492.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.145, allocations: 85.61 kB / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.145, allocations: 4 kB / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.145, allocations: 0 / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.145, allocations: 4 kB / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.1454, allocations: 350.3 kB / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1454, allocations: 0 / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.1455, allocations: 15.98 kB / 492.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1455, allocations: 0 / 492.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1455, allocations: 192 / 492.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1455, allocations: 7.938 kB / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1455, allocations: 0 / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.1461, allocations: 0.7512 MB / 493.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.1461, allocations: 85.02 kB / 493.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1461, allocations: 0 / 493.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.1462, allocations: 4 kB / 493.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1463, allocations: 7.984 kB / 493.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1463, allocations: 8 kB / 493.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.243e-05/0.1464, allocations: 107.3 kB / 493.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 493.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.1467, allocations: 27.98 kB / 493.6 MB, free: 5.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009831/0.1477, allocations: 444.8 kB / 494 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1479, allocations: 43.97 kB / 494.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1479, allocations: 0 / 494.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.148, allocations: 27.92 kB / 494.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1483, allocations: 19.92 kB / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1488, allocations: 286.1 kB / 494.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1491, allocations: 0.6887 MB / 495.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.1491, allocations: 15.83 kB / 495.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.1492, allocations: 23.44 kB / 495.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1492, allocations: 0 / 495.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of Templates: time 0.003604/0.1528, allocations: 1.311 MB / 496.4 MB, free: 2.688 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches