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.00111/0.00111, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001105/0.001105, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.301/1.301, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001435/0.001435, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09304, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003436/0.09653, allocations: 2.124 MB / 330.8 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.09745, allocations: 0.5735 MB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.09758, allocations: 8 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.09775, allocations: 35.66 kB / 331.5 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.817e-05/0.09786, allocations: 51.55 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.09803, allocations: 43.89 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.09825, allocations: 215.1 kB / 331.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.09842, allocations: 69.66 kB / 331.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.0985, allocations: 71.72 kB / 331.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.09864, allocations: 87.61 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.09867, allocations: 16 kB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-05/0.09871, allocations: 16 kB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.09875, allocations: 39.84 kB / 332 MB, free: 392 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.09883, allocations: 87.61 kB / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.09904, allocations: 211.2 kB / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09905, allocations: 0 / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09906, allocations: 0 / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.09907, allocations: 0 / 332.3 MB, free: 92 kB / 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.0006416/0.09972, allocations: 490.7 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.09976, allocations: 8.031 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.09981, allocations: 20.75 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1001, allocations: 220 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1001, allocations: 16.38 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.1001, allocations: 16.36 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1004, allocations: 161.7 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1005, allocations: 4 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1005, allocations: 4 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1005, allocations: 4 kB / 333.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1007, allocations: 103.7 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.1016, allocations: 0.5965 MB / 334 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1018, allocations: 118.6 kB / 334.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1019, allocations: 40.84 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1019, allocations: 0 / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.102, allocations: 30.56 kB / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.102, allocations: 3.938 kB / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.00142/0.1034, allocations: 0.7947 MB / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1034, allocations: 59.39 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1036, allocations: 166.1 kB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1036, allocations: 29.7 kB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1037, allocations: 128.3 kB / 335.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.1038, allocations: 67.08 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1038, allocations: 33.72 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1039, allocations: 330.8 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.104, allocations: 39.98 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1042, allocations: 79.41 kB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1044, allocations: 136.4 kB / 336 MB, free: 12.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1044, allocations: 0 / 336 MB, free: 12.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003764/0.1048, allocations: 210.9 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1048, allocations: 4 kB / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1048, allocations: 0 / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.1051, allocations: 44.83 kB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1052, allocations: 35.92 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.1064, allocations: 1.535 MB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.1065, allocations: 15.92 kB / 337.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1065, allocations: 4.062 kB / 337.8 MB, free: 10.11 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.0001031/0.1066, allocations: 129.8 kB / 338 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.1067, allocations: 11.91 kB / 338 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.1067, allocations: 17.19 kB / 338 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1067, allocations: 4 kB / 338 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1067, allocations: 0 / 338 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1067, allocations: 7.922 kB / 338 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007385/0.1075, allocations: 0.5841 MB / 338.6 MB, free: 9.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1075, allocations: 4 kB / 338.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.1077, allocations: 27.98 kB / 338.6 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.1078, allocations: 36.77 kB / 338.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1078, allocations: 8 kB / 338.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1089, allocations: 1.469 MB / 340.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1089, allocations: 7.969 kB / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.1094, allocations: 332.1 kB / 340.5 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.1094, allocations: 92.94 kB / 340.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1094, allocations: 4 kB / 340.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1096, allocations: 4 kB / 340.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1096, allocations: 15.92 kB / 340.6 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1096, allocations: 8.062 kB / 340.6 MB, free: 7.098 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.517e-05/0.1097, allocations: 119.2 kB / 340.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1097, allocations: 0 / 340.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.11, allocations: 51.94 kB / 340.8 MB, free: 6.93 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.0001218/0.1101, allocations: 99.17 kB / 340.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.1106, allocations: 271.4 kB / 341.1 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1106, allocations: 0 / 341.1 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.1109, allocations: 190.5 kB / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1113, allocations: 23.98 kB / 341.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.1121, allocations: 499.2 kB / 341.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1124, allocations: 0.7242 MB / 342.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.1125, allocations: 17.55 kB / 342.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1125, allocations: 15.44 kB / 342.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1125, allocations: 4 kB / 342.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of Templates: time 0.00442/0.1169, allocations: 1.827 MB / 344.4 MB, free: 3.191 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 -s cvode -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