Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 241.4 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007603/0.0007603, allocations: 100.8 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002996, allocations: 8 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08607/0.2887, allocations: 78.44 MB / 481.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.2889, allocations: 72.52 kB / 481.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009993/0.2989, allocations: 3.905 MB / 485.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.299, allocations: 0 / 485.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.299, allocations: 4 kB / 485.2 MB, free: 13.91 MB / 362.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.0005763/0.2996, allocations: 483.3 kB / 485.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2996, allocations: 12.03 kB / 485.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.2997, allocations: 28.59 kB / 485.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2999, allocations: 234.2 kB / 485.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2999, allocations: 12.81 kB / 485.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.3, allocations: 24.28 kB / 485.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.3003, allocations: 222.1 kB / 486.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3004, allocations: 0 / 486.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3004, allocations: 8 kB / 486.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3004, allocations: 12 kB / 486.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.3007, allocations: 125.7 kB / 486.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.3016, allocations: 0.7131 MB / 487 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3019, allocations: 150.5 kB / 487.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.302, allocations: 72.83 kB / 487.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3021, allocations: 7.938 kB / 487.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.3021, allocations: 34.56 kB / 487.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3021, allocations: 0 / 487.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001517/0.3037, allocations: 0.8987 MB / 488.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3037, allocations: 55.34 kB / 488.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3039, allocations: 171.2 kB / 488.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3039, allocations: 37.7 kB / 488.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.304, allocations: 140.3 kB / 488.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.304, allocations: 90.73 kB / 488.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.3041, allocations: 4 kB / 488.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3042, allocations: 326.8 kB / 489 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3043, allocations: 55.97 kB / 489 MB, free: 9.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3044, allocations: 104.2 kB / 489.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3047, allocations: 164.9 kB / 489.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3047, allocations: 4 kB / 489.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004254/0.3052, allocations: 254.9 kB / 489.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3052, allocations: 8.922 kB / 489.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3052, allocations: 4 kB / 489.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.3054, allocations: 36.97 kB / 489.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.3056, allocations: 51.91 kB / 489.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3067, allocations: 1.382 MB / 491 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3069, allocations: 8 kB / 491 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3069, allocations: 19.88 kB / 491.1 MB, free: 7.527 MB / 362.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 () * Number of clocked 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 0.0001189/0.307, allocations: 129.8 kB / 491.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3071, allocations: 19.81 kB / 491.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3071, allocations: 25.86 kB / 491.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3071, allocations: 4 kB / 491.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3071, allocations: 4.062 kB / 491.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3071, allocations: 0 / 491.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008682/0.308, allocations: 0.6596 MB / 491.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.308, allocations: 0 / 491.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3082, allocations: 51.91 kB / 491.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.3084, allocations: 32.83 kB / 492 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3084, allocations: 12 kB / 492 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3094, allocations: 1.379 MB / 493.4 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3094, allocations: 3.938 kB / 493.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.31, allocations: 413.7 kB / 493.8 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.3101, allocations: 92.83 kB / 493.9 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3101, allocations: 8 kB / 493.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3102, allocations: 12.03 kB / 493.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3103, allocations: 15.98 kB / 493.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3103, allocations: 4 kB / 493.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3104, allocations: 144.7 kB / 494 MB, free: 4.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3104, allocations: 0 / 494 MB, free: 4.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.3107, allocations: 60 kB / 494.1 MB, free: 4.223 MB / 362.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 () * Number of clocked 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.0001186/0.3109, allocations: 104.1 kB / 494.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.3114, allocations: 298.4 kB / 494.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3114, allocations: 4 kB / 494.5 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.3117, allocations: 215 kB / 494.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3121, allocations: 35.97 kB / 494.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3133, allocations: 0.8172 MB / 495.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3136, allocations: 0.7485 MB / 496.3 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.801e-05/0.3137, allocations: 13.95 kB / 496.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3138, allocations: 23.42 kB / 496.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3138, allocations: 0 / 496.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of Templates: time 0.00504/0.3188, allocations: 2.182 MB / 498.5 MB, free: 15.72 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches