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.0009283/0.0009284, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 224.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007715, allocations: 90.34 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08526/0.3156, allocations: 77.62 MB / 454.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3159, allocations: 79.95 kB / 454.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.3263, allocations: 3.804 MB / 458.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3263, allocations: 0 / 458.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.3263, allocations: 8 kB / 458.5 MB, free: 15.04 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.0006434/0.327, allocations: 483 kB / 459 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.327, allocations: 8.031 kB / 459 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.3271, allocations: 24.66 kB / 459 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3274, allocations: 236.6 kB / 459.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3274, allocations: 16.81 kB / 459.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.3275, allocations: 24.28 kB / 459.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.3279, allocations: 214.2 kB / 459.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3279, allocations: 0 / 459.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.3279, allocations: 8 kB / 459.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3279, allocations: 7.938 kB / 459.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.3282, allocations: 133.7 kB / 459.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009706/0.3292, allocations: 0.7054 MB / 460.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3294, allocations: 152.6 kB / 460.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3296, allocations: 73.05 kB / 460.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3296, allocations: 4 kB / 460.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3296, allocations: 38.5 kB / 460.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3297, allocations: 4 kB / 460.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00168/0.3313, allocations: 0.89 MB / 461.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.3315, allocations: 51.41 kB / 461.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3317, allocations: 175.7 kB / 461.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3317, allocations: 29.7 kB / 461.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.3318, allocations: 144.3 kB / 461.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.3319, allocations: 86.73 kB / 462 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.3319, allocations: 4 kB / 462 MB, free: 11.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.332, allocations: 326.8 kB / 462.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3322, allocations: 63.91 kB / 462.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3323, allocations: 109.6 kB / 462.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3326, allocations: 173.6 kB / 462.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3326, allocations: 0 / 462.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004356/0.3331, allocations: 258 kB / 462.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3331, allocations: 4 kB / 462.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3331, allocations: 4 kB / 462.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.3333, allocations: 36.83 kB / 463 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.3335, allocations: 56.03 kB / 463 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3346, allocations: 1.366 MB / 464.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3348, allocations: 16.08 kB / 464.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3348, allocations: 15.94 kB / 464.4 MB, free: 8.672 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 () * 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.0001244/0.3349, allocations: 129.9 kB / 464.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.335, allocations: 23.8 kB / 464.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.335, allocations: 29.86 kB / 464.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3351, allocations: 0 / 464.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3351, allocations: 0 / 464.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3351, allocations: 8 kB / 464.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009223/0.336, allocations: 0.6592 MB / 465.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.336, allocations: 4.031 kB / 465.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.3362, allocations: 47.91 kB / 465.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.3364, allocations: 32.84 kB / 465.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3364, allocations: 8 kB / 465.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.3374, allocations: 1.382 MB / 466.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.3374, allocations: 3.938 kB / 466.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.338, allocations: 418.1 kB / 467.1 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.3381, allocations: 92.83 kB / 467.2 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3381, allocations: 4 kB / 467.2 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3382, allocations: 8 kB / 467.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.3383, allocations: 24.2 kB / 467.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3383, allocations: 4 kB / 467.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.3384, allocations: 128.8 kB / 467.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3384, allocations: 0 / 467.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.3388, allocations: 60 kB / 467.5 MB, free: 5.367 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 () * 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.0001204/0.3389, allocations: 107.2 kB / 467.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.3394, allocations: 287 kB / 467.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3394, allocations: 0 / 467.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.3397, allocations: 222.5 kB / 468.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3402, allocations: 48.27 kB / 468.1 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3414, allocations: 0.8123 MB / 468.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3417, allocations: 0.7485 MB / 469.7 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.3418, allocations: 21.94 kB / 469.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.3418, allocations: 19.44 kB / 469.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3418, allocations: 0 / 469.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of Templates: time 0.005089/0.3469, allocations: 2.182 MB / 471.9 MB, free: 0.8555 MB / 346.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/jenkins1/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