Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 202.4 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.6 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.000766/0.000766, allocations: 96.77 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 44.84 MB / 392 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002412, allocations: 11.98 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08596, allocations: 62.95 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001619/0.08762, allocations: 1.303 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.08836, allocations: 499.2 kB / 0.5171 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.08841, allocations: 11.94 kB / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.08864, allocations: 75.81 kB / 0.5172 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.08886, allocations: 79.8 kB / 0.5172 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.08915, allocations: 94.44 kB / 0.5173 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.08928, allocations: 75.75 kB / 0.5174 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.08937, allocations: 15.97 kB / 0.5174 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.08942, allocations: 27.92 kB / 0.5174 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.08951, allocations: 47.81 kB / 0.5175 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.08953, allocations: 4 kB / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.08961, allocations: 32 kB / 0.5175 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.08965, allocations: 23.91 kB / 0.5175 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.08969, allocations: 41.62 kB / 0.5176 GB, free: 460 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.0898, allocations: 71.89 kB / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.08981, allocations: 0 / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08982, allocations: 0 / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.08983, allocations: 4 kB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1587/0.2486, allocations: 403.1 kB / 0.518 GB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2486, allocations: 9.719 kB / 0.518 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.2487, allocations: 16.88 kB / 0.5181 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2488, allocations: 195.5 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2488, allocations: 3.094 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2489, allocations: 7.203 kB / 0.5183 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.249, allocations: 57.05 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.249, allocations: 0.5 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.249, allocations: 1.156 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2491, allocations: 1.438 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2492, allocations: 34.19 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.2495, allocations: 308.8 kB / 0.5186 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.628e-05/0.2496, allocations: 47.64 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.2497, allocations: 24.62 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2497, allocations: 2.391 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.2497, allocations: 33.34 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2497, allocations: 0 / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000875/0.2506, allocations: 267.6 kB / 0.519 GB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.2506, allocations: 57 kB / 0.5191 GB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2508, allocations: 218.9 kB / 0.5193 GB, free: 11.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.2509, allocations: 27.61 kB / 0.5193 GB, free: 11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2509, allocations: 107.6 kB / 0.5194 GB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2509, allocations: 24.17 kB / 0.5194 GB, free: 10.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2509, allocations: 2.531 kB / 0.5194 GB, free: 10.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.251, allocations: 326.7 kB / 0.5197 GB, free: 10.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.2511, allocations: 32.09 kB / 0.5198 GB, free: 10.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.2512, allocations: 37.34 kB / 0.5198 GB, free: 10.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.059e-05/0.2513, allocations: 42.5 kB / 0.5198 GB, free: 10.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2513, allocations: 0 / 0.5198 GB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.2515, allocations: 122.6 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2515, allocations: 10.36 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2515, allocations: 0.7969 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2515, allocations: 1.25 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.2516, allocations: 19.2 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2517, allocations: 4.672 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.2517, allocations: 10.69 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2517, allocations: 2.938 kB / 0.52 GB, free: 10.53 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 (8): * Single equations (assignments): 8 * 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 6.604e-05/0.2518, allocations: 131.3 kB / 0.5201 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.2518, allocations: 10.86 kB / 0.5201 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.2521, allocations: 143.1 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2521, allocations: 1.438 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2521, allocations: 5.094 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2521, allocations: 5.781 kB / 0.5203 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.2526, allocations: 425.9 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2526, allocations: 0.875 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.2527, allocations: 23.95 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2527, allocations: 1.156 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2527, allocations: 6.875 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2527, allocations: 3.656 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2527, allocations: 5.719 kB / 0.5207 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.2529, allocations: 217.2 kB / 0.5209 GB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.253, allocations: 91.48 kB / 0.521 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.253, allocations: 6.984 kB / 0.521 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.2531, allocations: 11.31 kB / 0.521 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.2531, allocations: 9.5 kB / 0.521 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2531, allocations: 7.625 kB / 0.5211 GB, free: 9.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2533, allocations: 164.8 kB / 0.5212 GB, free: 9.699 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2533, allocations: 0 / 0.5212 GB, free: 9.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.2535, allocations: 19.55 kB / 0.5212 GB, free: 9.699 MB / 346.7 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 (8): * Single equations (assignments): 8 * 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.0007792/0.2543, allocations: 446.9 kB / 0.5217 GB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.2545, allocations: 78.11 kB / 0.5217 GB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2545, allocations: 0 / 0.5217 GB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.926e-05/0.2546, allocations: 49.86 kB / 0.5218 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2549, allocations: 20.27 kB / 0.5218 GB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.2553, allocations: 309.1 kB / 0.5221 GB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.2554, allocations: 0.7089 MB / 0.5228 GB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.2555, allocations: 19.22 kB / 0.5228 GB, free: 8.57 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2555, allocations: 1.719 kB / 0.5228 GB, free: 8.57 MB / 346.7 MB Notification: Performance of Templates: time 0.003065/0.2586, allocations: 1.798 MB / 0.5246 GB, free: 8.379 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches