Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009957/0.0009957, allocations: 203.1 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008005/0.0008008, allocations: 97.11 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 44.84 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002367, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09337, allocations: 62.95 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001697/0.0951, allocations: 1.291 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.09591, allocations: 495.3 kB / 0.5171 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.09596, allocations: 0 / 0.5171 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.0961, allocations: 23.91 kB / 0.5171 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.09628, allocations: 67.7 kB / 0.5171 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.09652, allocations: 95.81 kB / 0.5172 GB, free: 0.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.09663, allocations: 59.83 kB / 0.5173 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.0967, allocations: 11.98 kB / 0.5173 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.09674, allocations: 23.86 kB / 0.5173 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.0968, allocations: 19.86 kB / 0.5173 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.09682, allocations: 0 / 0.5173 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.09688, allocations: 27.92 kB / 0.5174 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.09692, allocations: 11.98 kB / 0.5174 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.09696, allocations: 33.64 kB / 0.5174 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.09707, allocations: 67.91 kB / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09708, allocations: 0 / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09709, allocations: 0 / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.09709, allocations: 0 / 0.5175 GB, free: 0.5352 MB / 346.7 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.0004244/0.09752, allocations: 387.3 kB / 0.5178 GB, free: 112 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.09757, allocations: 8.031 kB / 0.5179 GB, free: 104 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.09761, allocations: 11.91 kB / 0.5179 GB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.196/0.2937, allocations: 188.8 kB / 0.518 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2937, allocations: 5.5 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2937, allocations: 9.094 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2939, allocations: 49.95 kB / 0.5181 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2939, allocations: 0.7031 kB / 0.5181 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.2939, allocations: 0.75 kB / 0.5181 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-06/0.2939, allocations: 0.875 kB / 0.5181 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.294, allocations: 28.95 kB / 0.5181 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.2943, allocations: 289.1 kB / 0.5184 GB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2945, allocations: 52.09 kB / 0.5185 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.2946, allocations: 19.19 kB / 0.5185 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2946, allocations: 1.094 kB / 0.5185 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.2946, allocations: 33.58 kB / 0.5185 GB, free: 11.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2946, allocations: 3.312 kB / 0.5185 GB, free: 11.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005766/0.2952, allocations: 168.8 kB / 0.5187 GB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.2952, allocations: 52.47 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2954, allocations: 178.3 kB / 0.5189 GB, free: 11.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.2954, allocations: 26.33 kB / 0.5189 GB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.2955, allocations: 102.7 kB / 0.519 GB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2955, allocations: 15.17 kB / 0.519 GB, free: 11.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2955, allocations: 4.562 kB / 0.519 GB, free: 11.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.2956, allocations: 330.5 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.2957, allocations: 22.44 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2958, allocations: 24.97 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2961, allocations: 27.17 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2961, allocations: 4 kB / 0.5194 GB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002983/0.2964, allocations: 94.05 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2964, allocations: 4.844 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2964, allocations: 0.6562 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2965, allocations: 0.8125 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.2966, allocations: 15.83 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2966, allocations: 5.25 kB / 0.5195 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.2967, allocations: 7.266 kB / 0.5196 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2967, allocations: 1.656 kB / 0.5196 GB, free: 10.7 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/0.2968, allocations: 128.5 kB / 0.5197 GB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.2968, allocations: 7.75 kB / 0.5197 GB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.2971, allocations: 111 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2971, allocations: 1.281 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2971, allocations: 0.6094 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2972, allocations: 0 / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.2976, allocations: 375.3 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2977, allocations: 2.188 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.2977, allocations: 18.95 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2977, allocations: 1.125 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2977, allocations: 1.266 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2978, allocations: 0.875 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2978, allocations: 0 / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.298, allocations: 201.1 kB / 0.5204 GB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2981, allocations: 86.95 kB / 0.5204 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2981, allocations: 3.625 kB / 0.5205 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.2982, allocations: 7.203 kB / 0.5205 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2982, allocations: 2.953 kB / 0.5205 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.2982, allocations: 5.344 kB / 0.5205 GB, free: 9.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.2983, allocations: 134.2 kB / 0.5206 GB, free: 9.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2983, allocations: 0 / 0.5206 GB, free: 9.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.2986, allocations: 13 kB / 0.5206 GB, free: 9.906 MB / 346.7 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 (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.000766/0.2994, allocations: 405.7 kB / 0.521 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.2996, allocations: 60.52 kB / 0.5211 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2996, allocations: 0 / 0.5211 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.2997, allocations: 34.88 kB / 0.5211 GB, free: 9.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3, allocations: 17.44 kB / 0.5211 GB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3005, allocations: 238.9 kB / 0.5213 GB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3006, allocations: 0.6989 MB / 0.522 GB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3007, allocations: 13.48 kB / 0.522 GB, free: 8.82 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3007, allocations: 0 / 0.522 GB, free: 8.82 MB / 346.7 MB Notification: Performance of Templates: time 0.004069/0.3048, allocations: 1.498 MB / 0.5235 GB, free: 8.66 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches