Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009059/0.000906, allocations: 183.1 kB / 18.04 MB, free: 3.773 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.258/1.258, allocations: 205.4 MB / 224.2 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.0007386/0.0007387, allocations: 85.55 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003659, allocations: 15.98 kB / 329.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2188, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0905/0.3093, allocations: 77.62 MB / 454.6 MB, free: 2.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3096, allocations: 67.97 kB / 454.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008194/0.3178, allocations: 3.134 MB / 457.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3178, allocations: 3.938 kB / 457.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3178, allocations: 4 kB / 457.8 MB, free: 15.72 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005137/0.3183, allocations: 442.9 kB / 458.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3184, allocations: 8.031 kB / 458.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.3184, allocations: 20.75 kB / 458.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3187, allocations: 222.2 kB / 458.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3187, allocations: 20.38 kB / 458.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3187, allocations: 16.38 kB / 458.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.319, allocations: 154 kB / 458.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3191, allocations: 192 / 458.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.3191, allocations: 11.92 kB / 458.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3191, allocations: 4 kB / 458.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3193, allocations: 115.7 kB / 458.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.3202, allocations: 0.6043 MB / 459.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.3205, allocations: 106.6 kB / 459.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.3206, allocations: 40.84 kB / 459.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3206, allocations: 4 kB / 459.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3206, allocations: 42.55 kB / 459.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3207, allocations: 0 / 459.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001536/0.3222, allocations: 0.8085 MB / 460.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.3222, allocations: 59.34 kB / 460.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3224, allocations: 164.7 kB / 460.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3224, allocations: 29.7 kB / 460.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3225, allocations: 128.3 kB / 460.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.3226, allocations: 63.11 kB / 460.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.3226, allocations: 4 kB / 460.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3227, allocations: 326.8 kB / 461.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3228, allocations: 43.97 kB / 461.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3229, allocations: 87.47 kB / 461.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3232, allocations: 135.3 kB / 461.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3232, allocations: 0 / 461.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003861/0.3236, allocations: 202.2 kB / 461.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3236, allocations: 15.94 kB / 461.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3236, allocations: 0 / 461.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.3238, allocations: 40.83 kB / 461.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3239, allocations: 31.92 kB / 461.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3251, allocations: 1.429 MB / 463.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.3252, allocations: 8 kB / 463.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3253, allocations: 4 kB / 463.2 MB, free: 9.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.3254, allocations: 137.8 kB / 463.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.3254, allocations: 11.91 kB / 463.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.3255, allocations: 21.17 kB / 463.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3255, allocations: 0 / 463.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3255, allocations: 0 / 463.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3255, allocations: 7.938 kB / 463.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.3263, allocations: 0.5925 MB / 464 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3263, allocations: 0 / 464 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3265, allocations: 35.91 kB / 464 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.3266, allocations: 28.84 kB / 464 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3266, allocations: 4 kB / 464 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3278, allocations: 1.382 MB / 465.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3278, allocations: 0 / 465.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.3283, allocations: 336.8 kB / 465.7 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.3284, allocations: 92.98 kB / 465.8 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3284, allocations: 3.938 kB / 465.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3285, allocations: 11.94 kB / 465.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3285, allocations: 16.05 kB / 465.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3286, allocations: 11.98 kB / 465.9 MB, free: 6.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.3286, allocations: 111.3 kB / 466 MB, free: 6.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3287, allocations: 0 / 466 MB, free: 6.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.3289, allocations: 44 kB / 466 MB, free: 6.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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.0001305/0.3291, allocations: 112.2 kB / 466.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3295, allocations: 256.8 kB / 466.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3296, allocations: 4 kB / 466.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.3298, allocations: 194.5 kB / 466.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3302, allocations: 16 kB / 466.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.3311, allocations: 0.6067 MB / 467.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3314, allocations: 0.7284 MB / 467.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.3315, allocations: 13.55 kB / 467.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.3315, allocations: 15.44 kB / 467.9 MB, free: 4.812 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3315, allocations: 4 kB / 468 MB, free: 4.809 MB / 346.7 MB Notification: Performance of Templates: time 0.1497/0.4812, allocations: 1.672 MB / 469.6 MB, free: 3.141 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches