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.001519/0.001519, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001803/0.001803, allocations: 192 kB / 18 MB, free: 5.219 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 47.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2796, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00332/0.283, allocations: 2.118 MB / 402.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.2839, allocations: 0.5376 MB / 403.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2841, allocations: 4 kB / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.2842, allocations: 31.66 kB / 403.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2844, allocations: 55.56 kB / 403.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.2846, allocations: 51.88 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.2848, allocations: 207.1 kB / 403.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2851, allocations: 77.62 kB / 403.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.2851, allocations: 79.7 kB / 403.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2853, allocations: 75.64 kB / 403.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.2853, allocations: 16 kB / 404 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.2854, allocations: 20 kB / 404 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.2854, allocations: 43.84 kB / 404 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.2855, allocations: 87.59 kB / 404.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2857, allocations: 204.4 kB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2858, allocations: 4 kB / 404.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2858, allocations: 0 / 404.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2858, allocations: 0 / 404.3 MB, free: 5.277 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.0006676/0.2864, allocations: 482.7 kB / 404.8 MB, free: 4.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2865, allocations: 15.97 kB / 404.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.2865, allocations: 16.75 kB / 404.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2868, allocations: 227.9 kB / 405 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2868, allocations: 16.38 kB / 405 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.2869, allocations: 16.38 kB / 405.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2872, allocations: 157.7 kB / 405.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2872, allocations: 4 kB / 405.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2872, allocations: 8 kB / 405.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2872, allocations: 4 kB / 405.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.2875, allocations: 103.7 kB / 405.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.2883, allocations: 0.5848 MB / 405.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2885, allocations: 118.6 kB / 406 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.641e-05/0.2886, allocations: 40.84 kB / 406.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2886, allocations: 0 / 406.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2887, allocations: 34.56 kB / 406.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2887, allocations: 0 / 406.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001507/0.2902, allocations: 0.8106 MB / 406.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.2902, allocations: 55.31 kB / 407 MB, free: 2.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2904, allocations: 162.2 kB / 407.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2904, allocations: 25.7 kB / 407.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.2905, allocations: 132.3 kB / 407.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.2906, allocations: 63.11 kB / 407.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.2907, allocations: 37.7 kB / 407.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2908, allocations: 330.8 kB / 407.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2909, allocations: 39.98 kB / 407.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.291, allocations: 72.91 kB / 407.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.2913, allocations: 139.3 kB / 408 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2913, allocations: 0 / 408 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00039/0.2917, allocations: 209.6 kB / 408.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2917, allocations: 14.33 kB / 408.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2917, allocations: 4.062 kB / 408.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.2919, allocations: 36.84 kB / 408.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.292, allocations: 31.92 kB / 408.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.2934, allocations: 1.535 MB / 409.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2935, allocations: 11.97 kB / 409.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2935, allocations: 4 kB / 409.8 MB, free: 15.3 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.0001142/0.2936, allocations: 125.8 kB / 409.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.2937, allocations: 19.91 kB / 409.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.2937, allocations: 29.11 kB / 410 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2937, allocations: 0 / 410 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2937, allocations: 4 kB / 410 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2937, allocations: 3.938 kB / 410 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008022/0.2946, allocations: 0.58 MB / 410.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2946, allocations: 4 kB / 410.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.2947, allocations: 27.98 kB / 410.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.2949, allocations: 40.8 kB / 410.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2949, allocations: 4 kB / 410.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.296, allocations: 1.473 MB / 412.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.296, allocations: 0 / 412.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.2965, allocations: 352 kB / 412.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.2966, allocations: 85.05 kB / 412.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2966, allocations: 4 kB / 412.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.2967, allocations: 4 kB / 412.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.2968, allocations: 15.92 kB / 412.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2968, allocations: 7.984 kB / 412.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.2969, allocations: 111.3 kB / 412.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2969, allocations: 4 kB / 412.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.2972, allocations: 44.06 kB / 412.7 MB, free: 12.12 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.0001264/0.2973, allocations: 111.6 kB / 412.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.2978, allocations: 257 kB / 413.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2978, allocations: 0 / 413.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.2981, allocations: 194.6 kB / 413.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2985, allocations: 23.94 kB / 413.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.2993, allocations: 0.4993 MB / 413.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.2996, allocations: 0.732 MB / 414.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.2997, allocations: 17.55 kB / 414.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.2997, allocations: 15.44 kB / 414.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2997, allocations: 0 / 414.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Templates: time 0.004769/0.3045, allocations: 1.866 MB / 416.4 MB, free: 8.34 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