Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001802/0.001802, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.354/1.354, allocations: 222.9 MB / 243 MB, free: 15.16 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.2079/0.2079, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.03 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1214, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002892/0.1244, allocations: 1.606 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.1252, allocations: 427.1 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.1252, allocations: 4 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1255, allocations: 95.67 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1257, allocations: 71.78 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.126, allocations: 115.2 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1261, allocations: 91.8 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1262, allocations: 31.97 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.1263, allocations: 43.84 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.1264, allocations: 63.81 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1264, allocations: 4 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.1265, allocations: 47.97 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1266, allocations: 31.84 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.1266, allocations: 35.75 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1268, allocations: 127.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1268, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1268, allocations: 3.938 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1268, allocations: 0 / 473.5 MB, free: 10.86 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004483/0.1273, allocations: 429.7 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1273, allocations: 8.031 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.1274, allocations: 16.75 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1276, allocations: 208.1 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1276, allocations: 4.375 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1276, allocations: 8.375 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1278, allocations: 77.72 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1278, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1278, allocations: 4 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1278, allocations: 4 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1279, allocations: 39.97 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.1284, allocations: 340.6 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1285, allocations: 66.48 kB / 474.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1286, allocations: 28.78 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1286, allocations: 12.14 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1286, allocations: 30.56 kB / 474.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.1286, allocations: 4 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001002/0.1297, allocations: 337.4 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1297, allocations: 51.41 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1299, allocations: 231.5 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1299, allocations: 25.7 kB / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.13, allocations: 116 kB / 475.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1301, allocations: 43.44 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.1301, allocations: 29.72 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1302, allocations: 330.8 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1303, allocations: 43.97 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.1304, allocations: 43.97 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1306, allocations: 107.2 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1306, allocations: 0 / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002698/0.1309, allocations: 157.4 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1309, allocations: 8 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.131, allocations: 0 / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.131, allocations: 3.938 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1311, allocations: 27.98 kB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1311, allocations: 0 / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1312, allocations: 11.98 kB / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1312, allocations: 4 kB / 476.3 MB, free: 7.844 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 (13): * Single equations (assignments): 13 * 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.0001037/0.1313, allocations: 133.8 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1313, allocations: 23.75 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.1317, allocations: 183.1 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1317, allocations: 0 / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1317, allocations: 4 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1317, allocations: 0 / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.1324, allocations: 0.4912 MB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1324, allocations: 4.031 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.1325, allocations: 31.92 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1325, allocations: 0 / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1325, allocations: 4 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1325, allocations: 0 / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1326, allocations: 0 / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.1329, allocations: 264.1 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1329, allocations: 89.02 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1329, allocations: 0 / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.133, allocations: 11.98 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1331, allocations: 11.92 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1331, allocations: 7.938 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1332, allocations: 180.2 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1332, allocations: 0 / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1335, allocations: 32 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009653/0.1345, allocations: 450.2 kB / 478.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.1348, allocations: 123.4 kB / 478.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1348, allocations: 0 / 478.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1349, allocations: 63.89 kB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1353, allocations: 16.16 kB / 478.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.1358, allocations: 319.6 kB / 478.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1361, allocations: 0.7236 MB / 479.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.1362, allocations: 24.53 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1362, allocations: 23.42 kB / 479.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1362, allocations: 0 / 479.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004088/0.1403, allocations: 1.582 MB / 481 MB, free: 3.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches