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") [: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 trunk/package.mo): time 0.001511/0.001511, allocations: 206.7 kB / 8.544 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008373/0.0008373, allocations: 95.52 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.704e-06, allocations: 4 kB / 343.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09832, allocations: 51.47 MB / 394.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2608/0.3592, allocations: 78.43 MB / 473 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.3594, allocations: 69.23 kB / 473.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009404/0.3688, allocations: 3.65 MB / 476.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3689, allocations: 8 kB / 476.8 MB, free: 11.42 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.0004941/0.3694, allocations: 470.5 kB / 477.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3694, allocations: 8.031 kB / 477.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3696, allocations: 35.33 kB / 477.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.3699, allocations: 227.8 kB / 477.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3699, allocations: 11.98 kB / 477.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.3699, allocations: 15.31 kB / 477.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002054/0.3701, allocations: 98.73 kB / 477.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.3704, allocations: 172.9 kB / 477.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3704, allocations: 7.906 kB / 477.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.3704, allocations: 0 / 477.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3704, allocations: 4 kB / 477.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.3712, allocations: 0.6491 MB / 478.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3714, allocations: 99.88 kB / 478.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.3715, allocations: 61.92 kB / 478.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3715, allocations: 4 kB / 478.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.3715, allocations: 33.69 kB / 478.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/0.3715, allocations: 0 / 478.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00116/0.3727, allocations: 0.7553 MB / 479.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.3727, allocations: 51.41 kB / 479.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3728, allocations: 140.8 kB / 479.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3728, allocations: 25.7 kB / 479.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.3729, allocations: 132.7 kB / 479.7 MB, free: 8.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3729, allocations: 84.06 kB / 479.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.373, allocations: 0 / 479.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.373, allocations: 335.8 kB / 480.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.3731, allocations: 46 kB / 480.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.3732, allocations: 88.92 kB / 480.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.467e-05/0.3733, allocations: 54.81 kB / 480.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3733, allocations: 0 / 480.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003198/0.3736, allocations: 211.8 kB / 480.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3736, allocations: 6.859 kB / 480.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3737, allocations: 0 / 480.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.3738, allocations: 31.41 kB / 480.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3741, allocations: 55.09 kB / 480.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009199/0.375, allocations: 1.313 MB / 481.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3751, allocations: 9.281 kB / 481.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3752, allocations: 11.94 kB / 482 MB, free: 6.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 () * 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 6.752e-05/0.3752, allocations: 107.8 kB / 482.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.3753, allocations: 22.84 kB / 482.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.3754, allocations: 21.56 kB / 482.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3754, allocations: 4.75 kB / 482.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3754, allocations: 0 / 482.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3754, allocations: 9.297 kB / 482.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.3761, allocations: 0.5841 MB / 482.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3761, allocations: 0 / 482.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3764, allocations: 50.22 kB / 482.8 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.3765, allocations: 32.72 kB / 482.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3765, allocations: 0.6094 kB / 482.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007761/0.3773, allocations: 1.317 MB / 484.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3773, allocations: 0 / 484.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003952/0.3777, allocations: 394.8 kB / 484.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3778, allocations: 88.92 kB / 484.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.3778, allocations: 7.688 kB / 484.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3779, allocations: 4.797 kB / 484.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.378, allocations: 21.14 kB / 484.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.378, allocations: 8 kB / 484.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.223e-05/0.3781, allocations: 120.5 kB / 484.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000331/0.3784, allocations: 48 kB / 484.8 MB, free: 3.996 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.0001254/0.3785, allocations: 104.2 kB / 484.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.3789, allocations: 253.9 kB / 485.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.379, allocations: 4.062 kB / 485.1 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.3792, allocations: 190.1 kB / 485.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3795, allocations: 33.42 kB / 485.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.3804, allocations: 0.5106 MB / 485.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.3806, allocations: 0.7692 MB / 486.6 MB, free: 2.172 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3806, allocations: 224 / 486.6 MB, free: 2.172 MB / 346.7 MB Notification: Performance of Templates: time 0.005401/0.386, allocations: 2.231 MB / 488.9 MB, free: 8 kB / 346.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