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.001411/0.001411, allocations: 113.9 kB / 17.28 MB, free: 6.219 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.001375/0.001375, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.44/1.44, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 47.94 kB / 300.8 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1065, allocations: 49.44 MB / 350.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003794/0.1104, allocations: 2.175 MB / 352.4 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1115, allocations: 0.5337 MB / 352.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.1118, allocations: 7.938 kB / 352.9 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.112, allocations: 27.84 kB / 353 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1122, allocations: 43.61 kB / 353 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1124, allocations: 39.97 kB / 353.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1127, allocations: 203.1 kB / 353.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1129, allocations: 77.5 kB / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1131, allocations: 79.66 kB / 353.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1133, allocations: 79.64 kB / 353.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.1133, allocations: 16 kB / 353.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.491e-05/0.1133, allocations: 16 kB / 353.5 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.1134, allocations: 39.89 kB / 353.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1135, allocations: 95.53 kB / 353.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1137, allocations: 159.9 kB / 353.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1137, allocations: 0 / 353.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1138, allocations: 0 / 353.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1138, allocations: 0 / 353.8 MB, free: 1.172 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.0007859/0.1146, allocations: 474.9 kB / 354.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1146, allocations: 12.03 kB / 354.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.1147, allocations: 20.66 kB / 354.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1149, allocations: 216.1 kB / 354.5 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1149, allocations: 16.38 kB / 354.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.115, allocations: 20.36 kB / 354.5 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.1153, allocations: 161.6 kB / 354.7 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1154, allocations: 7.906 kB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1154, allocations: 8 kB / 354.7 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1154, allocations: 4 kB / 354.7 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.1156, allocations: 99.94 kB / 354.8 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.1166, allocations: 0.5927 MB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1169, allocations: 110.6 kB / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.117, allocations: 48.78 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.117, allocations: 0 / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.117, allocations: 38.56 kB / 355.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.117, allocations: 0 / 355.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001564/0.1186, allocations: 0.7962 MB / 356.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1186, allocations: 55.41 kB / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1188, allocations: 154.2 kB / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1188, allocations: 29.64 kB / 356.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.1189, allocations: 132.3 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.119, allocations: 63 kB / 356.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.119, allocations: 37.7 kB / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1192, allocations: 338.7 kB / 357.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1193, allocations: 43.98 kB / 357.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1194, allocations: 75.41 kB / 357.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.1196, allocations: 138.9 kB / 357.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1196, allocations: 0 / 357.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003798/0.12, allocations: 206.2 kB / 357.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1201, allocations: 4 kB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1201, allocations: 0 / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.1203, allocations: 44.89 kB / 357.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1204, allocations: 27.98 kB / 357.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1218, allocations: 1.531 MB / 359.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.1219, allocations: 12.11 kB / 359.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1219, allocations: 12 kB / 359.3 MB, free: 11.21 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.0001335/0.1221, allocations: 133.8 kB / 359.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.1221, allocations: 19.88 kB / 359.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.1222, allocations: 13.19 kB / 359.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1222, allocations: 7.984 kB / 359.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1222, allocations: 0 / 359.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1222, allocations: 3.938 kB / 359.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.1231, allocations: 0.5947 MB / 360 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1231, allocations: 0 / 360 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1232, allocations: 27.98 kB / 360.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.1234, allocations: 32.77 kB / 360.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1234, allocations: 8 kB / 360.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.1246, allocations: 1.481 MB / 361.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1246, allocations: 4.062 kB / 361.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.1251, allocations: 335.9 kB / 361.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.1252, allocations: 92.94 kB / 362 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1252, allocations: 4 kB / 362 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.1253, allocations: 4 kB / 362 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1254, allocations: 20.05 kB / 362 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1254, allocations: 0 / 362 MB, free: 8.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.1255, allocations: 124.1 kB / 362.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1255, allocations: 0 / 362.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.1258, allocations: 48 kB / 362.2 MB, free: 8.016 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.0001281/0.126, allocations: 115 kB / 362.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005488/0.1265, allocations: 254.5 kB / 362.6 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1265, allocations: 4 kB / 362.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.1268, allocations: 190.5 kB / 362.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1272, allocations: 30.59 kB / 362.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1283, allocations: 0.583 MB / 363.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1286, allocations: 0.7242 MB / 364.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1287, allocations: 23.44 kB / 364.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1287, allocations: 0 / 364.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of Templates: time 0.005204/0.1339, allocations: 2.877 MB / 367 MB, free: 3.141 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