Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 198.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 226.5 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007914/0.0007914, allocations: 98.38 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.288/0.288, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002873, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2831, allocations: 62.95 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002038/0.2852, allocations: 1.748 MB / 0.5176 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.286, allocations: 0.539 MB / 0.5181 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.2861, allocations: 0 / 0.5181 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.552e-05/0.2862, allocations: 17.72 kB / 0.5181 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.2863, allocations: 34.48 kB / 0.5182 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.2866, allocations: 62.3 kB / 0.5182 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.2868, allocations: 168.9 kB / 0.5184 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.287, allocations: 35.75 kB / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2871, allocations: 90.67 kB / 0.5185 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.2873, allocations: 67.91 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.2873, allocations: 9.375 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.2874, allocations: 11.17 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.2874, allocations: 30.2 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.2875, allocations: 89.98 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2876, allocations: 133.4 kB / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2877, allocations: 0 / 0.5188 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2877, allocations: 3.938 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2877, allocations: 4 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007984/0.2885, allocations: 436.2 kB / 0.5192 GB, free: 34.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2885, allocations: 8.375 kB / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2887, allocations: 32.8 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2889, allocations: 215.1 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2889, allocations: 9.719 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.289, allocations: 16.16 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2893, allocations: 167.6 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2893, allocations: 6.219 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2893, allocations: 8 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2893, allocations: 2.969 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.2896, allocations: 122 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.2903, allocations: 0.7016 MB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.2907, allocations: 156.7 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2909, allocations: 59.53 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2909, allocations: 3.938 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2909, allocations: 37.91 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.2909, allocations: 0 / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001169/0.2921, allocations: 443.7 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2921, allocations: 54.84 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.2922, allocations: 154.5 kB / 0.5214 GB, free: 33.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2923, allocations: 36.95 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.2924, allocations: 121.3 kB / 0.5215 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.2924, allocations: 61.98 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.2924, allocations: 4 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.2925, allocations: 324.8 kB / 0.5219 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2926, allocations: 74.45 kB / 0.522 GB, free: 32.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2928, allocations: 108.7 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2932, allocations: 192 kB / 0.5222 GB, free: 32.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2932, allocations: 3.938 kB / 0.5222 GB, free: 32.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004192/0.2936, allocations: 237.9 kB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2936, allocations: 5.812 kB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2937, allocations: 0 / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2937, allocations: 2.938 kB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.2939, allocations: 60 kB / 0.5225 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.294, allocations: 2.812 kB / 0.5225 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2941, allocations: 11.86 kB / 0.5226 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2941, allocations: 12.89 kB / 0.5226 GB, free: 32.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 23 * 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 8.612e-05/0.2942, allocations: 133.6 kB / 0.5227 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.2943, allocations: 15.47 kB / 0.5227 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.2943, allocations: 24.91 kB / 0.5227 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2943, allocations: 3.234 kB / 0.5227 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2943, allocations: 2.844 kB / 0.5227 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2943, allocations: 0 / 0.5227 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008097/0.2952, allocations: 0.646 MB / 0.5234 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2952, allocations: 2.938 kB / 0.5234 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.2954, allocations: 56.98 kB / 0.5234 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.2954, allocations: 3.938 kB / 0.5234 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2954, allocations: 6.812 kB / 0.5234 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2955, allocations: 0 / 0.5234 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2955, allocations: 0 / 0.5234 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.2959, allocations: 315.2 kB / 0.5237 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.296, allocations: 104.8 kB / 0.5238 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.296, allocations: 7.938 kB / 0.5238 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.2962, allocations: 21.81 kB / 0.5239 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.2963, allocations: 18.97 kB / 0.5239 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2963, allocations: 2.969 kB / 0.5239 GB, free: 31.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.2964, allocations: 120 kB / 0.524 GB, free: 31.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2964, allocations: 0 / 0.524 GB, free: 31.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.2966, allocations: 37.66 kB / 0.524 GB, free: 31.3 MB / 378.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 (20): * Single equations (assignments): 20 * 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 8.701e-05/0.2967, allocations: 103.8 kB / 0.5241 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.2971, allocations: 183.5 kB / 0.5243 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2971, allocations: 2.562 kB / 0.5243 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.2973, allocations: 99.14 kB / 0.5244 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2977, allocations: 30.45 kB / 0.5244 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.2983, allocations: 0.4884 MB / 0.5249 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.2984, allocations: 0.7184 MB / 0.5256 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.2985, allocations: 28.25 kB / 0.5256 GB, free: 30.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2985, allocations: 0 / 0.5256 GB, free: 30.09 MB / 378.7 MB Notification: Performance of Templates: time 0.002942/0.3015, allocations: 2.125 MB / 0.5277 GB, free: 29.93 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches