Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002418/0.002418, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002686/0.002686, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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) 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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.184e-05, allocations: 6.312 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.005971/0.006003, allocations: 2.135 MB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.007798, allocations: 0.5531 MB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.008018, allocations: 7.938 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.008273, allocations: 35.72 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.00852, allocations: 51.48 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.008794, allocations: 51.88 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.009276, allocations: 211 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.009503, allocations: 45.78 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.009819, allocations: 119.7 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.01005, allocations: 59.86 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.01011, allocations: 16 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.01019, allocations: 20 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.01026, allocations: 39.83 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.01042, allocations: 63.84 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.01092, allocations: 219.2 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01093, allocations: 0 / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01093, allocations: 0 / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.01094, allocations: 0 / 275.8 MB, free: 14.21 MB / 266.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.001204/0.01214, allocations: 0.5072 MB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.01219, allocations: 15.98 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.01231, allocations: 32.84 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.01277, allocations: 168.3 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.0128, allocations: 8.375 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.01286, allocations: 16.38 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.01343, allocations: 146.2 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.01345, allocations: 8.125 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01348, allocations: 4.375 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.0135, allocations: 7.938 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.01394, allocations: 107.7 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.01565, allocations: 0.5803 MB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.01606, allocations: 115.1 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.01621, allocations: 43.67 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.01625, allocations: 4 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.01629, allocations: 37.33 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.01629, allocations: 0 / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002463/0.01875, allocations: 0.6711 MB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.01882, allocations: 55.41 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.01913, allocations: 212.4 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.01916, allocations: 29.7 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.01935, allocations: 183.2 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.01945, allocations: 67.44 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.01959, allocations: 51.36 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0006201/0.02021, allocations: 0.504 MB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.0204, allocations: 47.86 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.02065, allocations: 90.66 kB / 279.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.02109, allocations: 146.6 kB / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.02109, allocations: 0 / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00072/0.02181, allocations: 212.1 kB / 279.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.02183, allocations: 14.88 kB / 279.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.617e-05/0.02188, allocations: 3.984 kB / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.02219, allocations: 43.61 kB / 279.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.02243, allocations: 27.98 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.02537, allocations: 1.936 MB / 281.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.02551, allocations: 16.02 kB / 281.9 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.02553, allocations: 4 kB / 281.9 MB, free: 7.719 MB / 266.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 (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.0002724/0.0258, allocations: 188.4 kB / 282 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.02589, allocations: 19.95 kB / 282.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.02596, allocations: 13.12 kB / 282.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02596, allocations: 4 kB / 282.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.02597, allocations: 0 / 282.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02597, allocations: 0 / 282.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.02762, allocations: 0.5936 MB / 282.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.02762, allocations: 4 kB / 282.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.02785, allocations: 23.98 kB / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/0.02808, allocations: 39.59 kB / 282.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.0281, allocations: 8 kB / 282.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.0306, allocations: 1.873 MB / 284.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.0306, allocations: 0 / 284.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.03155, allocations: 395.4 kB / 285 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.03159, allocations: 15.89 kB / 285 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.03163, allocations: 8 kB / 285 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.0318, allocations: 7.922 kB / 285 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.03187, allocations: 11.98 kB / 285 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.03189, allocations: 4 kB / 285.1 MB, free: 4.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.03206, allocations: 155.2 kB / 285.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03206, allocations: 0 / 285.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005828/0.03264, allocations: 51.94 kB / 285.3 MB, free: 4.098 MB / 266.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 (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.0002001/0.03284, allocations: 95.19 kB / 285.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.03375, allocations: 324.1 kB / 285.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.03376, allocations: 4 kB / 285.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.03429, allocations: 261.5 kB / 285.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.03488, allocations: 23.98 kB / 285.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.03655, allocations: 450.4 kB / 286.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.03674, allocations: 120.2 kB / 286.5 MB, free: 2.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.03685, allocations: 13.48 kB / 286.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.03691, allocations: 20.5 kB / 286.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03691, allocations: 0 / 286.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of Templates: time 0.009113/0.04602, allocations: 1.858 MB / 288.4 MB, free: 0.8867 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3998192040016875]