Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 107.8 kB / 17.06 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 192 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2889, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003219/0.2921, allocations: 2.108 MB / 402.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.293, allocations: 0.5376 MB / 403.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2931, allocations: 7.938 kB / 403.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.2933, allocations: 31.72 kB / 403.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2934, allocations: 59.48 kB / 403.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2936, allocations: 47.94 kB / 403.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2939, allocations: 211 kB / 403.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2941, allocations: 77.62 kB / 403.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.2941, allocations: 83.59 kB / 403.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2943, allocations: 83.62 kB / 403.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.2943, allocations: 16 kB / 404 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/0.2944, allocations: 16 kB / 404 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.2944, allocations: 43.89 kB / 404 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2945, allocations: 87.55 kB / 404.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2948, allocations: 208.4 kB / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2948, allocations: 0 / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2948, allocations: 4 kB / 404.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2948, allocations: 0 / 404.3 MB, free: 5.289 MB / 318.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.0007135/0.2956, allocations: 478.8 kB / 404.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2956, allocations: 12.03 kB / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.2957, allocations: 16.75 kB / 404.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.296, allocations: 220 kB / 405 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.296, allocations: 16.38 kB / 405 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.2961, allocations: 20.38 kB / 405.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.2964, allocations: 157.6 kB / 405.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2964, allocations: 4 kB / 405.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2964, allocations: 4 kB / 405.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2964, allocations: 4 kB / 405.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.2967, allocations: 107.7 kB / 405.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.2976, allocations: 0.5926 MB / 405.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.2978, allocations: 118.6 kB / 406 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.2979, allocations: 40.84 kB / 406.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2979, allocations: 4 kB / 406.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.298, allocations: 38.5 kB / 406.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.298, allocations: 0 / 406.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001434/0.2994, allocations: 0.7871 MB / 406.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2995, allocations: 63.31 kB / 407 MB, free: 2.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2996, allocations: 158.2 kB / 407.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2996, allocations: 29.7 kB / 407.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.2997, allocations: 132.3 kB / 407.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.2998, allocations: 63.09 kB / 407.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.2998, allocations: 37.66 kB / 407.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3, allocations: 326.8 kB / 407.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3001, allocations: 51.97 kB / 407.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3002, allocations: 71.41 kB / 407.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.3005, allocations: 130.6 kB / 408 MB, free: 1.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3005, allocations: 3.938 kB / 408 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004088/0.3009, allocations: 218 kB / 408.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3009, allocations: 8 kB / 408.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3009, allocations: 0 / 408.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.3011, allocations: 36.83 kB / 408.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3013, allocations: 31.98 kB / 408.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.3027, allocations: 1.536 MB / 409.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.824e-05/0.3028, allocations: 12.03 kB / 409.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3028, allocations: 11.98 kB / 409.8 MB, free: 15.32 MB / 334.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.0001254/0.3029, allocations: 129.8 kB / 409.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.303, allocations: 11.91 kB / 409.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.303, allocations: 21.19 kB / 410 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.303, allocations: 4 kB / 410 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.303, allocations: 0 / 410 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3031, allocations: 7.922 kB / 410 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008168/0.3039, allocations: 0.58 MB / 410.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3039, allocations: 0 / 410.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.304, allocations: 27.98 kB / 410.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.3042, allocations: 36.83 kB / 410.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3042, allocations: 0 / 410.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3053, allocations: 1.48 MB / 412.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3054, allocations: 4.062 kB / 412.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.3058, allocations: 346.7 kB / 412.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3059, allocations: 89.19 kB / 412.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3059, allocations: 11.97 kB / 412.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.306, allocations: 8 kB / 412.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3061, allocations: 12.05 kB / 412.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3061, allocations: 8 kB / 412.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.3062, allocations: 119.2 kB / 412.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3062, allocations: 0 / 412.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3065, allocations: 40 kB / 412.7 MB, free: 12.13 MB / 334.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.0001127/0.3066, allocations: 111.6 kB / 412.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.3071, allocations: 254.5 kB / 413.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3071, allocations: 0 / 413.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.3074, allocations: 194.5 kB / 413.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3078, allocations: 23.98 kB / 413.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009521/0.3088, allocations: 0.4948 MB / 413.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3091, allocations: 0.7359 MB / 414.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.3092, allocations: 13.55 kB / 414.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3092, allocations: 15.44 kB / 414.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3092, allocations: 0 / 414.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Templates: time 0.004804/0.314, allocations: 1.858 MB / 416.4 MB, free: 8.371 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches