Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009142/0.0009145, allocations: 176.9 kB / 17.41 MB, free: 4.379 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.334/1.334, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0008051/0.0008054, allocations: 85.92 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0003001, allocations: 16 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2356, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09145/0.3271, allocations: 77.62 MB / 453.4 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3274, allocations: 71.95 kB / 453.4 MB, free: 2.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.3376, allocations: 3.803 MB / 457.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3376, allocations: 4 kB / 457.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.3377, allocations: 4 kB / 457.2 MB, free: 15.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.0006173/0.3383, allocations: 483 kB / 457.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3383, allocations: 12.03 kB / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3384, allocations: 28.66 kB / 457.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3387, allocations: 224.6 kB / 458 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3387, allocations: 20.81 kB / 458 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.3388, allocations: 24.28 kB / 458 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.3391, allocations: 210.2 kB / 458.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3392, allocations: 4 kB / 458.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3392, allocations: 11.94 kB / 458.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3392, allocations: 4 kB / 458.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.3395, allocations: 133.7 kB / 458.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.3404, allocations: 0.7054 MB / 459.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3407, allocations: 150.7 kB / 459.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.3409, allocations: 68.83 kB / 459.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3409, allocations: 7.938 kB / 459.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3409, allocations: 38.56 kB / 459.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.3409, allocations: 0 / 459.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001533/0.3425, allocations: 0.8924 MB / 460.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3425, allocations: 55.41 kB / 460.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3427, allocations: 175.7 kB / 460.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3427, allocations: 25.7 kB / 460.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.3428, allocations: 144.3 kB / 460.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.3429, allocations: 86.73 kB / 460.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.3429, allocations: 12 kB / 460.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3431, allocations: 326.8 kB / 461 MB, free: 11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3432, allocations: 59.91 kB / 461.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3433, allocations: 105.7 kB / 461.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3436, allocations: 177.6 kB / 461.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3436, allocations: 3.938 kB / 461.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004363/0.3441, allocations: 254 kB / 461.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.3441, allocations: 11.98 kB / 461.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3442, allocations: 0 / 461.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.3443, allocations: 28.84 kB / 461.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3445, allocations: 51.91 kB / 461.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3458, allocations: 1.378 MB / 463.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3459, allocations: 12.17 kB / 463.1 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.346, allocations: 16 kB / 463.1 MB, free: 8.738 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.000133/0.3461, allocations: 133.8 kB / 463.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.3462, allocations: 23.8 kB / 463.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.3462, allocations: 25.86 kB / 463.3 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3462, allocations: 4 kB / 463.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3462, allocations: 0 / 463.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3462, allocations: 0 / 463.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.3472, allocations: 0.663 MB / 464 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3472, allocations: 0 / 464 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3474, allocations: 55.97 kB / 464 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.3476, allocations: 32.83 kB / 464 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3476, allocations: 7.938 kB / 464.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3487, allocations: 1.382 MB / 465.4 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3487, allocations: 3.938 kB / 465.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.3493, allocations: 414.2 kB / 465.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.3494, allocations: 92.83 kB / 465.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3494, allocations: 8 kB / 465.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3495, allocations: 8.281 kB / 465.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.3496, allocations: 19.97 kB / 466 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3496, allocations: 12 kB / 466 MB, free: 5.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.621e-05/0.3497, allocations: 124.8 kB / 466.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3497, allocations: 0 / 466.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.3501, allocations: 60 kB / 466.2 MB, free: 5.434 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.0001464/0.3502, allocations: 107.2 kB / 466.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.3508, allocations: 299.2 kB / 466.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3508, allocations: 0 / 466.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.3511, allocations: 214.5 kB / 466.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3516, allocations: 40.22 kB / 466.8 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.3528, allocations: 0.8344 MB / 467.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3532, allocations: 0.7485 MB / 468.4 MB, free: 3.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.3532, allocations: 19.44 kB / 468.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3532, allocations: 0 / 468.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of Templates: time 0.005111/0.3584, allocations: 3.428 MB / 471.8 MB, free: 15.66 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches