Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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) 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(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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001575, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008261/0.0008261, allocations: 98.41 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.18e-05, allocations: 0 / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4649, allocations: 78.5 MB / 473.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4652, allocations: 67.31 kB / 473.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00995/0.4752, allocations: 3.954 MB / 477.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4752, allocations: 0 / 477.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4753, allocations: 8 kB / 477.7 MB, free: 11 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004976/0.4758, allocations: 468.9 kB / 478.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4758, allocations: 8.031 kB / 478.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.476, allocations: 38.48 kB / 478.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.4762, allocations: 225.8 kB / 478.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4762, allocations: 4 kB / 478.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4763, allocations: 19.59 kB / 478.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001962/0.4765, allocations: 103.3 kB / 478.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.4767, allocations: 181.1 kB / 478.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4768, allocations: 4.375 kB / 478.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4768, allocations: 0 / 478.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4768, allocations: 4 kB / 478.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.4776, allocations: 0.657 MB / 479.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4778, allocations: 124.9 kB / 479.5 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.4779, allocations: 60.94 kB / 479.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.478, allocations: 8 kB / 479.6 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.478, allocations: 34.25 kB / 479.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.478, allocations: 0 / 479.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00113/0.4791, allocations: 0.7528 MB / 480.4 MB, free: 8.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.4791, allocations: 58.58 kB / 480.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4793, allocations: 136.9 kB / 480.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4793, allocations: 25.7 kB / 480.6 MB, free: 8.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.4793, allocations: 147.9 kB / 480.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.4794, allocations: 81.39 kB / 480.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.4794, allocations: 4 kB / 480.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.4795, allocations: 329.4 kB / 481.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.4795, allocations: 43.06 kB / 481.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.4796, allocations: 85.02 kB / 481.2 MB, free: 7.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.4797, allocations: 53.78 kB / 481.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4797, allocations: 0.8438 kB / 481.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002885/0.48, allocations: 219.4 kB / 481.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.48, allocations: 4 kB / 481.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.48, allocations: 4 kB / 481.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.4802, allocations: 32.52 kB / 481.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.4804, allocations: 51.48 kB / 481.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008263/0.4812, allocations: 1.324 MB / 482.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4813, allocations: 5.203 kB / 482.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4814, allocations: 8 kB / 482.9 MB, free: 6.23 MB / 346.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 7.382e-05/0.4814, allocations: 120.1 kB / 483.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.4815, allocations: 23.72 kB / 483.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.4815, allocations: 21.27 kB / 483.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4815, allocations: 2.062 kB / 483.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4816, allocations: 1.312 kB / 483.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4816, allocations: 5.453 kB / 483.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.4822, allocations: 0.5757 MB / 483.7 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4822, allocations: 5.734 kB / 483.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.4824, allocations: 41.3 kB / 483.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.149e-05/0.4825, allocations: 39.06 kB / 483.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4826, allocations: 8.062 kB / 483.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/0.4833, allocations: 1.33 MB / 485.1 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4833, allocations: 4.094 kB / 485.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.4837, allocations: 391.7 kB / 485.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.4837, allocations: 92.92 kB / 485.6 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4837, allocations: 4.031 kB / 485.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.4838, allocations: 4 kB / 485.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.4839, allocations: 22.94 kB / 485.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.4839, allocations: 7.984 kB / 485.6 MB, free: 3.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.484, allocations: 122.6 kB / 485.7 MB, free: 3.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.484, allocations: 0 / 485.7 MB, free: 3.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.4843, allocations: 48 kB / 485.8 MB, free: 3.496 MB / 346.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.000125/0.4844, allocations: 109.2 kB / 485.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.4848, allocations: 267 kB / 486.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4848, allocations: 0 / 486.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.485, allocations: 190.7 kB / 486.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4854, allocations: 32.66 kB / 486.4 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.4862, allocations: 0.5191 MB / 486.9 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4864, allocations: 0.7558 MB / 487.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.4865, allocations: 18.02 kB / 487.7 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.4865, allocations: 19.44 kB / 487.7 MB, free: 1.633 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4865, allocations: 4 kB / 487.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of Templates: time 0.00446/0.491, allocations: 2.036 MB / 489.7 MB, free: 15.66 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches