Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001087/0.001087, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.337/1.337, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2196/0.2196, allocations: 44.16 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 65.08 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1148, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003083/0.1179, allocations: 1.544 MB / 471.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000854/0.1188, allocations: 403.2 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.1189, allocations: 3.938 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.1191, allocations: 27.84 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.1194, allocations: 35.84 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1197, allocations: 90.58 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1198, allocations: 55.84 kB / 472.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1199, allocations: 11.98 kB / 472.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.12, allocations: 15.94 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.1201, allocations: 23.84 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1201, allocations: 8 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.1202, allocations: 27.98 kB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.1203, allocations: 15.94 kB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.1203, allocations: 27.8 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1205, allocations: 71.78 kB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1205, allocations: 0 / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1205, allocations: 0 / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1205, allocations: 0 / 472.3 MB, free: 12.01 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.000499/0.121, allocations: 383.4 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.121, allocations: 16.03 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.1211, allocations: 8.828 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.1213, allocations: 186.8 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1213, allocations: 384 / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1214, allocations: 384 / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1215, allocations: 53.75 kB / 472.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1215, allocations: 0 / 472.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1215, allocations: 3.984 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1215, allocations: 0 / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1217, allocations: 23.98 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.122, allocations: 276.8 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1223, allocations: 50.5 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1223, allocations: 12.86 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1223, allocations: 0 / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1224, allocations: 38.64 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1224, allocations: 0 / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005786/0.123, allocations: 145.6 kB / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.123, allocations: 51.41 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1232, allocations: 149.7 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1232, allocations: 33.7 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.1233, allocations: 96.06 kB / 473.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1233, allocations: 15.81 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.1233, allocations: 17.72 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1235, allocations: 322.8 kB / 474.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.1235, allocations: 15.98 kB / 474.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.1236, allocations: 23.92 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1237, allocations: 53.02 kB / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1238, allocations: 0 / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.1239, allocations: 81.52 kB / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.124, allocations: 4 kB / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.124, allocations: 0 / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.124, allocations: 4 kB / 474.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.1241, allocations: 15.97 kB / 474.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1241, allocations: 0 / 474.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.1241, allocations: 8 kB / 474.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1241, allocations: 3.938 kB / 474.3 MB, free: 9.734 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.297e-05/0.1242, allocations: 129.8 kB / 474.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1243, allocations: 7.906 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1245, allocations: 85.91 kB / 474.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1245, allocations: 4 kB / 474.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1245, allocations: 4 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1245, allocations: 0 / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.125, allocations: 342.5 kB / 474.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.125, allocations: 3.938 kB / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.1251, allocations: 11.98 kB / 474.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1251, allocations: 0 / 474.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1251, allocations: 4 kB / 474.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1251, allocations: 3.938 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1251, allocations: 4 kB / 474.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1253, allocations: 179.6 kB / 475.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.1254, allocations: 81.02 kB / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1254, allocations: 0 / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.1255, allocations: 7.938 kB / 475.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1255, allocations: 11.98 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1255, allocations: 4 kB / 475.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1256, allocations: 121 kB / 475.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.355e-06/0.1256, allocations: 0 / 475.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1259, allocations: 15.94 kB / 475.3 MB, free: 8.629 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.0009556/0.1269, allocations: 404.5 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1271, allocations: 47.97 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1271, allocations: 4 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.1272, allocations: 27.92 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1276, allocations: 19.64 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.128, allocations: 203.1 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1283, allocations: 0.7001 MB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1284, allocations: 15.44 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1284, allocations: 0 / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Templates: time 0.003142/0.1315, allocations: 1.389 MB / 478.1 MB, free: 5.93 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches