Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 93.48 kB / 17.35 MB, free: 6.371 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.001342/0.001342, allocations: 171.8 kB / 18.25 MB, free: 5.523 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.481/1.481, allocations: 223.3 MB / 242.3 MB, free: 252 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.2238/0.2238, allocations: 44.25 MB / 337.7 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 61.92 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002756/0.1371, allocations: 1.274 MB / 473.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.1381, allocations: 403.4 kB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.1381, allocations: 4 kB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.1384, allocations: 23.91 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.1385, allocations: 23.91 kB / 474 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1389, allocations: 103.5 kB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.139, allocations: 59.77 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1392, allocations: 8 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.1393, allocations: 19.92 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.1393, allocations: 15.86 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1394, allocations: 4 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.1395, allocations: 31.98 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.1395, allocations: 11.92 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.1396, allocations: 53.5 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1398, allocations: 79.72 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1398, allocations: 4 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1398, allocations: 0 / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1399, allocations: 0 / 474.4 MB, free: 11.25 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.0007049/0.1406, allocations: 367.6 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1406, allocations: 8.031 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1407, allocations: 12.84 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1409, allocations: 194.3 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.141, allocations: 8.375 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.141, allocations: 384 / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1412, allocations: 57.75 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1412, allocations: 0 / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1412, allocations: 0 / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1412, allocations: 4 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1413, allocations: 27.97 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.1418, allocations: 288.8 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.142, allocations: 54.42 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.1421, allocations: 20.86 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1421, allocations: 4 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1422, allocations: 34.55 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1422, allocations: 0 / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006412/0.1428, allocations: 169.4 kB / 475.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1429, allocations: 51.41 kB / 475.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.143, allocations: 161.8 kB / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1431, allocations: 29.7 kB / 475.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.1431, allocations: 100 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1432, allocations: 15.75 kB / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.1432, allocations: 17.72 kB / 475.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1434, allocations: 326.8 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.916e-05/0.1435, allocations: 23.98 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.1435, allocations: 23.98 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1437, allocations: 64.81 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1437, allocations: 0 / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000225/0.1439, allocations: 93.52 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.144, allocations: 4 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.144, allocations: 4 kB / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.144, allocations: 0 / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.1441, allocations: 15.98 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1441, allocations: 0 / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1441, allocations: 12 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1442, allocations: 0 / 476.5 MB, free: 8.879 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 0.0001194/0.1443, allocations: 126.3 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1443, allocations: 11.91 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1446, allocations: 110.1 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1446, allocations: 0 / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1446, allocations: 4 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1446, allocations: 0 / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.1451, allocations: 362.5 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1451, allocations: 0 / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.1452, allocations: 19.88 kB / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1452, allocations: 0 / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1452, allocations: 3.938 kB / 477.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1452, allocations: 7.938 kB / 477.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1452, allocations: 0 / 477.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1455, allocations: 191.4 kB / 477.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1455, allocations: 89 kB / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1455, allocations: 0 / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.1456, allocations: 11.94 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1457, allocations: 11.98 kB / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1457, allocations: 0 / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1458, allocations: 130.2 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 0 / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.146, allocations: 8 kB / 477.6 MB, free: 7.711 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.001031/0.1471, allocations: 415 kB / 478 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1473, allocations: 55.97 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1473, allocations: 0 / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.1474, allocations: 31.97 kB / 478.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1479, allocations: 22.8 kB / 478.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.1485, allocations: 221.4 kB / 478.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1489, allocations: 0.6965 MB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.149, allocations: 15.98 kB / 479 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.1491, allocations: 11.44 kB / 479 MB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1491, allocations: 0 / 479 MB, free: 6.352 MB / 350.1 MB Notification: Performance of Templates: time 0.004252/0.1533, allocations: 1.052 MB / 480.1 MB, free: 5.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches