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.001313/0.001314, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001583/0.001583, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.376/1.376, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 54.64 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09936, allocations: 49.44 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003607/0.103, allocations: 2.106 MB / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.104, allocations: 0.5493 MB / 353.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1041, allocations: 4 kB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1044, allocations: 35.59 kB / 353.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.1045, allocations: 51.5 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1047, allocations: 51.94 kB / 353.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.105, allocations: 203.1 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1052, allocations: 73.52 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.1053, allocations: 71.72 kB / 353.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1054, allocations: 83.69 kB / 353.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.1055, allocations: 19.94 kB / 354 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.1055, allocations: 16 kB / 354 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.1056, allocations: 39.84 kB / 354 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.383e-05/0.1057, allocations: 95.55 kB / 354.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1059, allocations: 211.5 kB / 354.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1059, allocations: 0 / 354.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1059, allocations: 0 / 354.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1059, allocations: 0 / 354.3 MB, free: 0.8086 MB / 286.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.0006624/0.1066, allocations: 470.9 kB / 354.8 MB, free: 308 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1066, allocations: 12.03 kB / 354.8 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1067, allocations: 20.66 kB / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1069, allocations: 224 kB / 355 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.107, allocations: 16.41 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.107, allocations: 20.38 kB / 355.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.1073, allocations: 153.5 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.1074, allocations: 11.83 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1074, allocations: 8 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1074, allocations: 4 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1076, allocations: 99.94 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.1085, allocations: 0.5888 MB / 355.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.1088, allocations: 114.6 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1089, allocations: 48.08 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1089, allocations: 4 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.109, allocations: 34.5 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.109, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.00153/0.1105, allocations: 0.7895 MB / 356.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1105, allocations: 55.34 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1107, allocations: 158.2 kB / 357.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1107, allocations: 33.7 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.1108, allocations: 136.2 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.1109, allocations: 63.02 kB / 357.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.1109, allocations: 41.64 kB / 357.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1111, allocations: 326.8 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1112, allocations: 47.97 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1113, allocations: 82.53 kB / 357.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1116, allocations: 119.4 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1116, allocations: 4 kB / 358 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003975/0.112, allocations: 210.1 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.112, allocations: 8 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.112, allocations: 0 / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.1122, allocations: 44.77 kB / 358.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1124, allocations: 31.98 kB / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.1138, allocations: 1.535 MB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.1139, allocations: 12 kB / 359.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1139, allocations: 12 kB / 359.8 MB, free: 10.84 MB / 302.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.000127/0.114, allocations: 129.8 kB / 359.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1141, allocations: 15.8 kB / 359.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.1141, allocations: 21.19 kB / 360 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1141, allocations: 4 kB / 360 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1142, allocations: 0 / 360 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1142, allocations: 3.938 kB / 360 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/0.115, allocations: 0.5906 MB / 360.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.115, allocations: 0 / 360.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1152, allocations: 31.92 kB / 360.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.1153, allocations: 32.84 kB / 360.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1153, allocations: 4 kB / 360.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1165, allocations: 1.481 MB / 362.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1165, allocations: 0 / 362.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.117, allocations: 343.9 kB / 362.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.1171, allocations: 96.89 kB / 362.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1171, allocations: 0 / 362.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1172, allocations: 11.98 kB / 362.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.1173, allocations: 11.98 kB / 362.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1173, allocations: 4 kB / 362.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.305e-05/0.1174, allocations: 124.1 kB / 362.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1174, allocations: 0 / 362.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1177, allocations: 44 kB / 362.7 MB, free: 7.648 MB / 302.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.0001422/0.1179, allocations: 111.7 kB / 362.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.1184, allocations: 262.4 kB / 363.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1184, allocations: 0 / 363.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1187, allocations: 190.7 kB / 363.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.1192, allocations: 36.11 kB / 363.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.1201, allocations: 0.5166 MB / 363.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1204, allocations: 0.732 MB / 364.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1205, allocations: 15.44 kB / 364.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1205, allocations: 0 / 364.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Templates: time 0.004668/0.1252, allocations: 2.875 MB / 367.5 MB, free: 2.84 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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