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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 183.9 kB / 8.135 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 229.9 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008679/0.0008678, allocations: 98.23 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.123e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 50.39 MB / 386.9 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.084/0.2856, allocations: 77.6 MB / 464.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.2858, allocations: 68.47 kB / 464.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01029/0.2961, allocations: 3.561 MB / 468.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.2962, allocations: 7.984 kB / 468.1 MB, free: 5.598 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.0005148/0.2967, allocations: 466.2 kB / 468.6 MB, free: 5.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2968, allocations: 8.031 kB / 468.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.2968, allocations: 28.84 kB / 468.6 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2971, allocations: 223.3 kB / 468.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2971, allocations: 8 kB / 468.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.2971, allocations: 16 kB / 468.9 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002018/0.2973, allocations: 100.8 kB / 469 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.2976, allocations: 169 kB / 469.1 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.2976, allocations: 3.906 kB / 469.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.2977, allocations: 0 / 469.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2977, allocations: 8 kB / 469.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.2986, allocations: 0.6627 MB / 469.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2988, allocations: 89.7 kB / 469.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.2989, allocations: 60.84 kB / 470 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.2989, allocations: 2.062 kB / 470 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2989, allocations: 38.56 kB / 470 MB, free: 3.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.2989, allocations: 224 / 470 MB, free: 3.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0012/0.3001, allocations: 0.7531 MB / 470.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.3002, allocations: 55.34 kB / 470.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3003, allocations: 146 kB / 471 MB, free: 2.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3003, allocations: 25.7 kB / 471 MB, free: 2.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.3004, allocations: 136.2 kB / 471.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.3005, allocations: 90.66 kB / 471.2 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.3005, allocations: 0 / 471.2 MB, free: 2.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.3006, allocations: 326.8 kB / 471.5 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.3007, allocations: 44 kB / 471.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.3008, allocations: 88.27 kB / 471.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.931e-05/0.3009, allocations: 63.91 kB / 471.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3009, allocations: 0 / 471.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003465/0.3012, allocations: 210 kB / 471.9 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3013, allocations: 8 kB / 471.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3013, allocations: 0.75 kB / 471.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.3014, allocations: 32.97 kB / 472 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.3017, allocations: 55.91 kB / 472 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.3028, allocations: 1.316 MB / 473.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3029, allocations: 4 kB / 473.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3029, allocations: 9.125 kB / 473.3 MB, free: 15.97 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 () * 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.33e-05/0.303, allocations: 104.9 kB / 473.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3031, allocations: 25.41 kB / 473.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.3031, allocations: 25.78 kB / 473.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3031, allocations: 4 kB / 473.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3031, allocations: 0 / 473.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3031, allocations: 0 / 473.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.3039, allocations: 0.5822 MB / 474.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3039, allocations: 0 / 474.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.3041, allocations: 43.97 kB / 474.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.3042, allocations: 28.84 kB / 474.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3043, allocations: 7.938 kB / 474.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009575/0.3052, allocations: 1.324 MB / 475.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3052, allocations: 4.062 kB / 475.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004418/0.3057, allocations: 393.9 kB / 475.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.3058, allocations: 92.86 kB / 476 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3058, allocations: 4 kB / 476 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3059, allocations: 11.98 kB / 476 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.306, allocations: 15.98 kB / 476 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.306, allocations: 4 kB / 476 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.992e-05/0.3061, allocations: 115.2 kB / 476.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.3064, allocations: 56 kB / 476.2 MB, free: 12.93 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 () * 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.000133/0.3065, allocations: 104.1 kB / 476.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.3069, allocations: 249.7 kB / 476.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3069, allocations: 0 / 476.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3072, allocations: 185.6 kB / 476.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3075, allocations: 39.67 kB / 476.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.3084, allocations: 0.5005 MB / 477.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.3087, allocations: 0.7741 MB / 478 MB, free: 11 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3087, allocations: 0 / 478 MB, free: 11 MB / 362.7 MB Notification: Performance of Templates: time 0.004825/0.3135, allocations: 2.234 MB / 480.2 MB, free: 8.805 MB / 362.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/jenkins/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