Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001078/0.001078, allocations: 102.6 kB / 18.4 MB, free: 4.648 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.001132/0.001133, allocations: 190.1 kB / 19.34 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0738/0.07499, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00304/0.07806, allocations: 2.112 MB / 377.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000921/0.07901, allocations: 0.5928 MB / 378.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.07915, allocations: 7.938 kB / 378.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.07932, allocations: 31.7 kB / 378.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.07944, allocations: 51.52 kB / 378.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.07962, allocations: 51.92 kB / 378.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.07985, allocations: 207 kB / 378.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.08002, allocations: 69.64 kB / 378.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.08012, allocations: 79.7 kB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.08026, allocations: 87.62 kB / 379.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.08029, allocations: 16 kB / 379.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.08033, allocations: 16 kB / 379.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.08038, allocations: 43.84 kB / 379.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.08046, allocations: 83.61 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.08069, allocations: 219.2 kB / 379.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.0807, allocations: 0 / 379.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08071, allocations: 0 / 379.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.08072, allocations: 0 / 379.5 MB, free: 0.9141 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.000617/0.08134, allocations: 474.9 kB / 379.9 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.08138, allocations: 12.03 kB / 379.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.08144, allocations: 20.66 kB / 379.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.08169, allocations: 220 kB / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.08171, allocations: 12.38 kB / 380.2 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.08176, allocations: 28.22 kB / 380.2 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1459/0.2276, allocations: 152.4 kB / 380.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.2277, allocations: 1.938 kB / 380.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.2277, allocations: 4.5 kB / 380.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2277, allocations: 6.469 kB / 380.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.228, allocations: 105.2 kB / 380.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.2288, allocations: 0.5842 MB / 381.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.2291, allocations: 116.1 kB / 381.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.2292, allocations: 39.83 kB / 381.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2292, allocations: 1.375 kB / 381.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.2292, allocations: 40.19 kB / 381.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.2292, allocations: 4.125 kB / 381.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001357/0.2306, allocations: 0.7929 MB / 382 MB, free: 12.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.569e-05/0.2306, allocations: 54.91 kB / 382.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2307, allocations: 159.5 kB / 382.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2308, allocations: 31.16 kB / 382.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.2308, allocations: 128.6 kB / 382.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2308, allocations: 70.75 kB / 382.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.2309, allocations: 36.83 kB / 382.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.231, allocations: 329.9 kB / 382.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2311, allocations: 46.38 kB / 382.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.2312, allocations: 78.06 kB / 383 MB, free: 11.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2314, allocations: 132 kB / 383.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2314, allocations: 0.5938 kB / 383.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004033/0.2318, allocations: 213.9 kB / 383.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2318, allocations: 9.672 kB / 383.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2319, allocations: 1.344 kB / 383.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.232, allocations: 39.47 kB / 383.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2322, allocations: 38.55 kB / 383.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009801/0.2332, allocations: 1.534 MB / 384.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.2333, allocations: 8.703 kB / 384.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2333, allocations: 4.938 kB / 384.9 MB, free: 10.02 MB / 318.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 8.724e-05/0.2334, allocations: 128.3 kB / 385.1 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.2335, allocations: 14.12 kB / 385.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.2335, allocations: 21.73 kB / 385.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2335, allocations: 6.203 kB / 385.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2335, allocations: 2.953 kB / 385.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.2336, allocations: 91.88 kB / 385.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2336, allocations: 5.406 kB / 385.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2337, allocations: 3.516 kB / 385.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.2338, allocations: 15.92 kB / 385.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005219/0.2343, allocations: 280.8 kB / 385.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003721/0.2347, allocations: 398.8 kB / 385.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001041/0.2348, allocations: 56.3 kB / 385.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.811e-05/0.2349, allocations: 122.8 kB / 386.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of Backend: time 4.5e-07/0.2349, allocations: 0 / 386.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.2355, allocations: 284.8 kB / 386.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008154/0.2363, allocations: 0.9575 MB / 387.3 MB, free: 8.191 MB / 318.1 MB Notification: Performance of Templates: time 0.005283/0.2416, allocations: 2.047 MB / 389.3 MB, free: 8.008 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches