Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.477/1.477, allocations: 230.4 MB / 251.1 MB, free: 8.5 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 76.02 kB / 368.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.232, allocations: 53.31 MB / 422.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00351/0.2355, allocations: 2.137 MB / 424.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2366, allocations: 0.5765 MB / 425 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2367, allocations: 7.938 kB / 425 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.2369, allocations: 27.72 kB / 425 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.237, allocations: 55.5 kB / 425.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2372, allocations: 51.94 kB / 425.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.2375, allocations: 207 kB / 425.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2376, allocations: 53.66 kB / 425.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.2377, allocations: 75.77 kB / 425.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2379, allocations: 83.56 kB / 425.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2379, allocations: 16 kB / 425.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.2379, allocations: 16 kB / 425.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.2379, allocations: 43.86 kB / 425.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.238, allocations: 87.59 kB / 425.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2383, allocations: 210.7 kB / 425.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2383, allocations: 4 kB / 425.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2383, allocations: 3.938 kB / 425.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2383, allocations: 0 / 425.9 MB, free: 4.219 MB / 334.1 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.0006948/0.239, allocations: 474.6 kB / 426.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2391, allocations: 12.03 kB / 426.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.2391, allocations: 20.84 kB / 426.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.2394, allocations: 224 kB / 426.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2394, allocations: 16.16 kB / 426.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.2395, allocations: 24.31 kB / 426.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.2398, allocations: 149.9 kB / 426.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2398, allocations: 0 / 426.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2398, allocations: 12 kB / 426.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2398, allocations: 4 kB / 426.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.2401, allocations: 111.7 kB / 426.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.241, allocations: 0.5928 MB / 427.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.2412, allocations: 110.6 kB / 427.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.2413, allocations: 44.84 kB / 427.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2413, allocations: 0 / 427.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2413, allocations: 30.56 kB / 427.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 7.92e-07/0.2413, allocations: 0 / 427.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001558/0.2429, allocations: 0.8072 MB / 428.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.2429, allocations: 51.41 kB / 428.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2431, allocations: 158.9 kB / 428.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2431, allocations: 29.7 kB / 428.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.2432, allocations: 136.4 kB / 428.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.2433, allocations: 63.44 kB / 428.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.2433, allocations: 41.7 kB / 429 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2435, allocations: 330.8 kB / 429.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2436, allocations: 43.92 kB / 429.3 MB, free: 484 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.2437, allocations: 76.52 kB / 429.4 MB, free: 396 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.244, allocations: 131.3 kB / 429.5 MB, free: 252 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.244, allocations: 4 kB / 429.5 MB, free: 248 kB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004037/0.2444, allocations: 206.2 kB / 429.7 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2444, allocations: 8 kB / 429.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2444, allocations: 0 / 429.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.2446, allocations: 40.91 kB / 429.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2447, allocations: 35.91 kB / 429.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.2461, allocations: 1.532 MB / 431.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.2462, allocations: 11.97 kB / 431.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2462, allocations: 4 kB / 431.4 MB, free: 14.25 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.2464, allocations: 129.8 kB / 431.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.2464, allocations: 19.94 kB / 431.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.2465, allocations: 29.23 kB / 431.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2465, allocations: 4 kB / 431.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2465, allocations: 0 / 431.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.2465, allocations: 3.938 kB / 431.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.2473, allocations: 0.5838 MB / 432.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2473, allocations: 0 / 432.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2475, allocations: 27.98 kB / 432.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.2476, allocations: 40.83 kB / 432.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2476, allocations: 0 / 432.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.2489, allocations: 1.485 MB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2489, allocations: 0 / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.2494, allocations: 339.1 kB / 434 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.2494, allocations: 97.17 kB / 434.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.2495, allocations: 4 kB / 434.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2496, allocations: 4 kB / 434.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.2496, allocations: 16.11 kB / 434.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2496, allocations: 8 kB / 434.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.34e-05/0.2497, allocations: 119.4 kB / 434.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2497, allocations: 0 / 434.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.25, allocations: 44 kB / 434.3 MB, free: 11.06 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.2501, allocations: 115.1 kB / 434.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.2506, allocations: 241.7 kB / 434.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2506, allocations: 3.938 kB / 434.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.2509, allocations: 186.6 kB / 434.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2512, allocations: 34.27 kB / 434.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.2521, allocations: 498.6 kB / 435.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2525, allocations: 0.732 MB / 436.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.2526, allocations: 17.55 kB / 436.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.2526, allocations: 15.44 kB / 436.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2526, allocations: 0 / 436.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of Templates: time 0.005244/0.2578, allocations: 1.908 MB / 438 MB, free: 7.258 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches