Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001593, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001863/0.001863, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.324/1.324, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.1928/0.1928, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.59 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.11, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002848/0.1129, allocations: 1.556 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.1137, allocations: 399.2 kB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.1137, allocations: 0 / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.114, allocations: 31.84 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1142, allocations: 31.84 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1144, allocations: 95.69 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1146, allocations: 55.84 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1147, allocations: 11.98 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.1147, allocations: 23.86 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.1148, allocations: 27.84 kB / 472.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1148, allocations: 0 / 472.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.1149, allocations: 28 kB / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1149, allocations: 15.92 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.115, allocations: 19.81 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1151, allocations: 79.78 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1152, allocations: 0 / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1152, allocations: 0 / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1152, allocations: 0 / 472.3 MB, free: 11.98 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.0004792/0.1157, allocations: 395.4 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1157, allocations: 8.031 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.1157, allocations: 8.844 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1159, allocations: 187.1 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1159, allocations: 4.375 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.116, allocations: 8.375 kB / 472.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1161, allocations: 45.81 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1161, allocations: 0 / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1161, allocations: 0 / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1162, allocations: 7.938 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.1162, allocations: 27.91 kB / 473 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1166, allocations: 284.8 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1168, allocations: 46.56 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.1169, allocations: 12.86 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1169, allocations: 0 / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1169, allocations: 30.56 kB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1169, allocations: 0 / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005158/0.1174, allocations: 149.4 kB / 473.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1175, allocations: 55.39 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1177, allocations: 161.8 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1177, allocations: 25.7 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.1177, allocations: 96.08 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1178, allocations: 27.64 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1178, allocations: 21.72 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1179, allocations: 322.8 kB / 474.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.118, allocations: 15.98 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.1181, allocations: 19.98 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1182, allocations: 40.84 kB / 474.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1182, allocations: 0 / 474.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001709/0.1184, allocations: 81.58 kB / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1184, allocations: 7.984 kB / 474.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1184, allocations: 256 / 474.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1185, allocations: 4 kB / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.1185, allocations: 15.94 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1185, allocations: 0 / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.1186, allocations: 7.984 kB / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1186, allocations: 0 / 474.4 MB, free: 9.688 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.677e-05/0.1187, allocations: 129.8 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1187, allocations: 7.906 kB / 474.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.1189, allocations: 89.95 kB / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.119, allocations: 0 / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.119, allocations: 0 / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.119, allocations: 0 / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.1194, allocations: 350.5 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1194, allocations: 0 / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.1194, allocations: 19.92 kB / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1195, allocations: 0 / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1195, allocations: 0 / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1195, allocations: 3.938 kB / 474.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1195, allocations: 0 / 474.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1197, allocations: 179.7 kB / 475.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1197, allocations: 92.94 kB / 475.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1198, allocations: 0 / 475.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1198, allocations: 15.92 kB / 475.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1199, allocations: 4 kB / 475.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1199, allocations: 4.172 kB / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.213e-05/0.12, allocations: 129.7 kB / 475.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.12, allocations: 0 / 475.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1202, allocations: 12 kB / 475.4 MB, free: 8.566 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.0009481/0.1212, allocations: 399.7 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1214, allocations: 47.91 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1214, allocations: 0 / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.1215, allocations: 23.98 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1219, allocations: 23.86 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.1223, allocations: 223.8 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1225, allocations: 0.6885 MB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1226, allocations: 15.44 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1226, allocations: 0 / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of Templates: time 0.00291/0.1255, allocations: 1.412 MB / 478.2 MB, free: 5.84 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches