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.001195/0.001195, allocations: 104.5 kB / 17.58 MB, free: 5.426 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.001215/0.001215, allocations: 191.9 kB / 18.51 MB, free: 4.512 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.442/1.442, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001238/0.001238, allocations: 56.14 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1018, allocations: 46.64 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004594/0.1065, allocations: 2.109 MB / 329.4 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1078, allocations: 0.5775 MB / 330 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1081, allocations: 4 kB / 330 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1083, allocations: 35.66 kB / 330 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1085, allocations: 55.48 kB / 330.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1087, allocations: 51.88 kB / 330.1 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.109, allocations: 207.1 kB / 330.3 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.1091, allocations: 65.66 kB / 330.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1093, allocations: 71.78 kB / 330.4 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1094, allocations: 79.62 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1094, allocations: 16 kB / 330.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.449e-05/0.1095, allocations: 20 kB / 330.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.1095, allocations: 39.84 kB / 330.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.1096, allocations: 99.47 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1099, allocations: 203.6 kB / 330.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1099, allocations: 3.984 kB / 330.9 MB, free: 0.832 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1099, allocations: 0 / 330.9 MB, free: 0.832 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1099, allocations: 0 / 330.9 MB, free: 0.832 MB / 270.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.0007231/0.1106, allocations: 478.6 kB / 331.4 MB, free: 324 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1107, allocations: 8.031 kB / 331.4 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1107, allocations: 20.75 kB / 331.4 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.111, allocations: 228 kB / 331.6 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1111, allocations: 16.38 kB / 331.6 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.1111, allocations: 16.45 kB / 331.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.1115, allocations: 157.7 kB / 331.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1116, allocations: 0 / 331.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1116, allocations: 8 kB / 331.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1116, allocations: 4 kB / 331.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1118, allocations: 107.7 kB / 331.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.1127, allocations: 0.6003 MB / 332.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.113, allocations: 122.6 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.1131, allocations: 40.84 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1131, allocations: 0 / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1131, allocations: 38.5 kB / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1132, allocations: 0 / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001522/0.1147, allocations: 0.795 MB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1147, allocations: 51.41 kB / 333.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1149, allocations: 162.1 kB / 333.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.115, allocations: 33.7 kB / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.1151, allocations: 128.3 kB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1152, allocations: 63.09 kB / 333.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.1153, allocations: 33.72 kB / 334 MB, free: 13.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1154, allocations: 330.8 kB / 334.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1155, allocations: 51.86 kB / 334.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1157, allocations: 75.41 kB / 334.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.1159, allocations: 128.6 kB / 334.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1159, allocations: 0 / 334.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004639/0.1164, allocations: 218.8 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1164, allocations: 4 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.1164, allocations: 4 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.1167, allocations: 36.83 kB / 334.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1169, allocations: 35.92 kB / 334.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.1181, allocations: 1.535 MB / 336.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.1183, allocations: 16.02 kB / 336.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1183, allocations: 8 kB / 336.4 MB, free: 10.84 MB / 286.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.000117/0.1184, allocations: 129.8 kB / 336.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.1184, allocations: 11.91 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.1185, allocations: 21.19 kB / 336.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1185, allocations: 3.984 kB / 336.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1185, allocations: 4 kB / 336.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1185, allocations: 3.938 kB / 336.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.1193, allocations: 0.5761 MB / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1193, allocations: 0 / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1194, allocations: 31.92 kB / 337.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.1196, allocations: 40.83 kB / 337.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1196, allocations: 0 / 337.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1206, allocations: 1.489 MB / 338.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1207, allocations: 0 / 338.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.1212, allocations: 340 kB / 339 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.1213, allocations: 89.03 kB / 339.1 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1213, allocations: 0 / 339.1 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.1214, allocations: 8 kB / 339.1 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1215, allocations: 7.984 kB / 339.1 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1215, allocations: 8 kB / 339.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.123e-05/0.1216, allocations: 119.2 kB / 339.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1216, allocations: 0 / 339.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1219, allocations: 43.94 kB / 339.3 MB, free: 7.676 MB / 286.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.0001155/0.122, allocations: 119.2 kB / 339.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.1225, allocations: 261.5 kB / 339.7 MB, free: 7.285 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1225, allocations: 0 / 339.7 MB, free: 7.285 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.1227, allocations: 190.6 kB / 339.9 MB, free: 7.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1231, allocations: 30.05 kB / 339.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.1239, allocations: 0.4914 MB / 340.4 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1243, allocations: 0.7281 MB / 341.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.1244, allocations: 17.55 kB / 341.1 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.1244, allocations: 15.44 kB / 341.1 MB, free: 5.746 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1244, allocations: 0 / 341.1 MB, free: 5.746 MB / 286.1 MB Notification: Performance of Templates: time 0.004695/0.1291, allocations: 1.823 MB / 343 MB, free: 3.922 MB / 286.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/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