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.001102/0.001102, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001684/0.001684, allocations: 162.3 kB / 24.99 MB, free: 8.801 MB / 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 0.9856/0.9856, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.05e-05, allocations: 2.312 kB / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002475/0.002506, allocations: 2.152 MB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.003267, allocations: 0.5648 MB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.003363, allocations: 4 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.003496, allocations: 31.66 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.003574, allocations: 59.48 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.003725, allocations: 47.92 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.00391, allocations: 210.9 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004042, allocations: 61.64 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.004151, allocations: 115.8 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.004247, allocations: 59.86 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.004275, allocations: 16 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.004294, allocations: 16 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.004326, allocations: 43.84 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.004378, allocations: 59.84 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.004545, allocations: 135.5 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004547, allocations: 0 / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004548, allocations: 0 / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004552, allocations: 0 / 276.5 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.0004933/0.005045, allocations: 0.492 MB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.005082, allocations: 19.92 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.005141, allocations: 32.84 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.005326, allocations: 171.4 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00534, allocations: 12.38 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.00537, allocations: 16.38 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.005573, allocations: 134.9 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.005585, allocations: 4.188 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.0056, allocations: 8.375 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.00561, allocations: 7.938 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.005713, allocations: 67.5 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.006268, allocations: 0.5178 MB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.006409, allocations: 91.06 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.00645, allocations: 27.67 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.006464, allocations: 8 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.006482, allocations: 33.39 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.006483, allocations: 0 / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008547/0.007338, allocations: 0.5729 MB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.007364, allocations: 55.41 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.007462, allocations: 201.1 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.007473, allocations: 29.7 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.007541, allocations: 179.2 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.007578, allocations: 71.36 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.007623, allocations: 43.36 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007731, allocations: 0.4962 MB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.007777, allocations: 15.98 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.007843, allocations: 78.59 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.007952, allocations: 98.67 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007953, allocations: 0 / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002/0.008153, allocations: 169.1 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.008165, allocations: 11.98 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008169, allocations: 0 / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.0083, allocations: 39.61 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.008397, allocations: 31.92 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009304/0.009327, allocations: 1.842 MB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.009371, allocations: 11.98 kB / 282.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.00938, allocations: 4 kB / 282.1 MB, free: 8.227 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 7.937e-05/0.009459, allocations: 168.5 kB / 282.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.009486, allocations: 15.95 kB / 282.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.009509, allocations: 17.12 kB / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009511, allocations: 7.969 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.009514, allocations: 4 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.009517, allocations: 3.984 kB / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.01001, allocations: 0.5038 MB / 282.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01001, allocations: 0 / 282.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.0101, allocations: 31.92 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-05/0.01018, allocations: 35.59 kB / 282.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.01019, allocations: 8 kB / 282.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007392/0.01093, allocations: 1.803 MB / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01093, allocations: 0 / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.01119, allocations: 330.4 kB / 285 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.0112, allocations: 15.89 kB / 285 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.01121, allocations: 4 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.01126, allocations: 8 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.0113, allocations: 19.97 kB / 285.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.0113, allocations: 7.938 kB / 285.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.01135, allocations: 139.2 kB / 285.2 MB, free: 4.902 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01135, allocations: 0 / 285.2 MB, free: 4.902 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01157, allocations: 44 kB / 285.2 MB, free: 4.859 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 8.759e-05/0.01165, allocations: 95.25 kB / 285.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.01197, allocations: 288.4 kB / 285.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01197, allocations: 0 / 285.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.01211, allocations: 237.4 kB / 285.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01234, allocations: 31.86 kB / 285.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.01306, allocations: 449.8 kB / 286.3 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.01311, allocations: 75.98 kB / 286.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01315, allocations: 17.48 kB / 286.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.01318, allocations: 16.5 kB / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01318, allocations: 0 / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of Templates: time 0.003579/0.01676, allocations: 1.842 MB / 288.3 MB, free: 1.758 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7448668989818543]