Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001435/0.001435, allocations: 192 kB / 18.56 MB, free: 4.562 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.352/1.352, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2271/0.2271, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.95 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003258/0.1345, allocations: 1.556 MB / 470.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.136, allocations: 1.016 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.1361, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1363, allocations: 15.86 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.1366, allocations: 43.78 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1369, allocations: 94.88 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.137, allocations: 59.78 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.1372, allocations: 12 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.1372, allocations: 27.91 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.1376, allocations: 23.86 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1376, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1377, allocations: 51.97 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.1378, allocations: 11.92 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.1378, allocations: 23.81 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1381, allocations: 87.77 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1381, allocations: 4 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1381, allocations: 3.938 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1381, allocations: 0 / 472.3 MB, free: 11.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000458/0.1386, allocations: 378.5 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1386, allocations: 12.03 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1386, allocations: 4.844 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1388, allocations: 188.2 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1389, allocations: 384 / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1389, allocations: 4.375 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1391, allocations: 79.45 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1391, allocations: 0 / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1391, allocations: 0 / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1391, allocations: 0 / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.1392, allocations: 27.97 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.1396, allocations: 268.9 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1398, allocations: 46.5 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1398, allocations: 20.94 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1398, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1399, allocations: 30.56 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1399, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005329/0.1404, allocations: 149.3 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1405, allocations: 77.11 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1406, allocations: 137.8 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1407, allocations: 29.7 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.1407, allocations: 92.12 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1407, allocations: 15.75 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1408, allocations: 17.72 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1409, allocations: 322.8 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.141, allocations: 23.98 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.141, allocations: 29.7 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1412, allocations: 48.77 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1412, allocations: 0 / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001863/0.1414, allocations: 81.58 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1414, allocations: 8.031 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1414, allocations: 0 / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1414, allocations: 0 / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.1415, allocations: 11.98 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1415, allocations: 4 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/0.1415, allocations: 0 / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1416, allocations: 4.25 kB / 474.3 MB, free: 9.035 MB / 350.1 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.267e-05/0.1417, allocations: 125.7 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1417, allocations: 11.91 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.1419, allocations: 85.62 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1419, allocations: 3.938 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.142, allocations: 4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.142, allocations: 0 / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.1424, allocations: 346.4 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1424, allocations: 4 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.1425, allocations: 12 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1425, allocations: 3.938 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1425, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1425, allocations: 3.938 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1425, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1427, allocations: 175.4 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.1428, allocations: 85.11 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1428, allocations: 0 / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1429, allocations: 15.92 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1429, allocations: 3.938 kB / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1429, allocations: 4 kB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.45e-05/0.143, allocations: 101.4 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1433, allocations: 27.89 kB / 475.3 MB, free: 7.938 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: 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.001044/0.1443, allocations: 443.5 kB / 475.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1445, allocations: 43.97 kB / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1445, allocations: 0 / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.1446, allocations: 31.92 kB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.145, allocations: 22.92 kB / 475.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.1454, allocations: 153.5 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1456, allocations: 0.6885 MB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.1457, allocations: 12.25 kB / 476.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1457, allocations: 15.42 kB / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1457, allocations: 0 / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Templates: time 0.004099/0.1498, allocations: 1.357 MB / 478.1 MB, free: 5.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches