Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.47 kB / 17 MB, free: 6.418 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.001193/0.001193, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.528/1.528, allocations: 223.3 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002354/0.1382, allocations: 1.274 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1398, allocations: 0.9609 MB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1399, allocations: 0 / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1402, allocations: 15.92 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1405, allocations: 39.84 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.1409, allocations: 78.59 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1411, allocations: 51.84 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1412, allocations: 20.17 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.1413, allocations: 19.91 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1415, allocations: 23.86 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1415, allocations: 4 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1417, allocations: 43.97 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.1417, allocations: 7.938 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1418, allocations: 33.7 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.142, allocations: 75.81 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.142, allocations: 4 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.142, allocations: 0 / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.142, allocations: 0 / 474.2 MB, free: 11.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006937/0.1427, allocations: 383.3 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1428, allocations: 8.562 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.1429, allocations: 7.906 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1432, allocations: 183 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1432, allocations: 8 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.1433, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1435, allocations: 83.28 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1436, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1436, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1436, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1438, allocations: 35.97 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.1443, allocations: 296.7 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1445, allocations: 54.5 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.1445, allocations: 20.97 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1446, allocations: 4 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.1446, allocations: 34.56 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1446, allocations: 4 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006762/0.1453, allocations: 189.2 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.1454, allocations: 85.11 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1456, allocations: 140.6 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1456, allocations: 25.7 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.1457, allocations: 96.12 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1457, allocations: 31.5 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1457, allocations: 0 / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1459, allocations: 322.8 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.146, allocations: 31.98 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.1461, allocations: 45.77 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.1462, allocations: 31.92 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1462, allocations: 0 / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002233/0.1464, allocations: 109.8 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1464, allocations: 10.5 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1464, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1465, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1466, allocations: 19.98 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1466, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.1466, allocations: 12 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1467, allocations: 7.984 kB / 476.5 MB, free: 8.559 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.1468, allocations: 121.7 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1468, allocations: 7.906 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.1471, allocations: 122 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1471, allocations: 0 / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.1471, allocations: 384 / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1471, allocations: 3.938 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.1476, allocations: 398.4 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1476, allocations: 4 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.1477, allocations: 19.98 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1477, allocations: 0 / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1477, allocations: 0 / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1477, allocations: 0 / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1477, allocations: 4 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.148, allocations: 215.3 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.148, allocations: 93 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1481, allocations: 0 / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1481, allocations: 4 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1482, allocations: 7.984 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1482, allocations: 12 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.1483, allocations: 107.2 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1483, allocations: 3.938 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1486, allocations: 27.98 kB / 477.6 MB, free: 7.324 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.1496, allocations: 444.9 kB / 478 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1499, allocations: 75.89 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1499, allocations: 0 / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.15, allocations: 39.97 kB / 478.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1503, allocations: 18.19 kB / 478.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1508, allocations: 205 kB / 478.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1511, allocations: 0.6887 MB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.117e-05/0.1512, allocations: 24.89 kB / 479.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1512, allocations: 15.44 kB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1512, allocations: 0 / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004519/0.1558, allocations: 1.35 MB / 480.4 MB, free: 4.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches