Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.3 MB / 214.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008343/0.0008342, allocations: 90.36 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.587e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09666, allocations: 47.58 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.4814, allocations: 77.08 MB / 440.1 MB, free: 2.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4818, allocations: 64.84 kB / 440.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.4927, allocations: 3.758 MB / 444 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4927, allocations: 0 / 444 MB, free: 15.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.4928, allocations: 4 kB / 444 MB, free: 15.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000612/0.4934, allocations: 469.2 kB / 444.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4934, allocations: 8.797 kB / 444.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.4935, allocations: 23.72 kB / 444.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.4938, allocations: 227.8 kB / 444.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4938, allocations: 8 kB / 444.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4939, allocations: 15.95 kB / 444.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002234/0.4941, allocations: 98.73 kB / 444.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.4944, allocations: 171.3 kB / 445 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.4945, allocations: 13.55 kB / 445 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4945, allocations: 0 / 445 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4945, allocations: 4 kB / 445 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/0.4955, allocations: 0.662 MB / 445.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.4957, allocations: 125.4 kB / 445.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.4958, allocations: 55.92 kB / 445.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4958, allocations: 0 / 445.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4959, allocations: 42.12 kB / 445.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 9.41e-07/0.4959, allocations: 0 / 445.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.00131/0.4972, allocations: 0.7551 MB / 446.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4973, allocations: 55.41 kB / 446.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4974, allocations: 145.4 kB / 446.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4974, allocations: 25.7 kB / 446.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4975, allocations: 151.9 kB / 447 MB, free: 12.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.4976, allocations: 80.77 kB / 447.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.4976, allocations: 0 / 447.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4978, allocations: 329.8 kB / 447.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.4978, allocations: 48.16 kB / 447.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.498, allocations: 84.72 kB / 447.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.674e-05/0.4981, allocations: 64.73 kB / 447.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4981, allocations: 0 / 447.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003419/0.4984, allocations: 215.8 kB / 447.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4985, allocations: 4 kB / 447.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4985, allocations: 0 / 447.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.4986, allocations: 32.45 kB / 447.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.4989, allocations: 59.66 kB / 447.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.5, allocations: 1.32 MB / 449.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.5001, allocations: 4.031 kB / 449.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.5001, allocations: 12 kB / 449.2 MB, free: 10.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.5002, allocations: 117.6 kB / 449.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.5003, allocations: 15.81 kB / 449.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.5003, allocations: 21.58 kB / 449.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5003, allocations: 4 kB / 449.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5004, allocations: 4.062 kB / 449.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5004, allocations: 0 / 449.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.5011, allocations: 0.5865 MB / 450 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5011, allocations: 8.016 kB / 450 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.5014, allocations: 51.22 kB / 450 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.5015, allocations: 29.19 kB / 450.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5015, allocations: 3.812 kB / 450.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.5026, allocations: 1.323 MB / 451.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5026, allocations: 0 / 451.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.503, allocations: 382.1 kB / 451.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.5031, allocations: 92.95 kB / 451.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.5031, allocations: 4 kB / 451.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5032, allocations: 4.234 kB / 451.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.5033, allocations: 23.11 kB / 451.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5033, allocations: 7.5 kB / 451.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.5034, allocations: 117.2 kB / 452 MB, free: 7.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5034, allocations: 3.938 kB / 452 MB, free: 7.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.5037, allocations: 48 kB / 452 MB, free: 7.574 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.5039, allocations: 103.2 kB / 452.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.5044, allocations: 256 kB / 452.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5044, allocations: 12 kB / 452.4 MB, free: 7.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.5046, allocations: 190.5 kB / 452.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.505, allocations: 31.45 kB / 452.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.5059, allocations: 0.524 MB / 453.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.5063, allocations: 0.7558 MB / 453.9 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.5064, allocations: 14.08 kB / 453.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.5064, allocations: 19.44 kB / 453.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5064, allocations: 0 / 453.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of Templates: time 0.005245/0.5117, allocations: 2.039 MB / 456 MB, free: 3.672 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches