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.00147/0.00147, allocations: 96.38 kB / 16.94 MB, free: 6.445 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.001666/0.001666, allocations: 183 kB / 17.83 MB, free: 6.012 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.673/1.673, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004398/0.0004401, allocations: 12.62 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09903, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002727/0.1018, allocations: 1.685 MB / 330 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1029, allocations: 0.5585 MB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1031, allocations: 4 kB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.03e-05/0.1032, allocations: 19.84 kB / 330.6 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1035, allocations: 63.8 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1037, allocations: 35.89 kB / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.104, allocations: 143.7 kB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.1042, allocations: 61.78 kB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1043, allocations: 55.8 kB / 330.9 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1045, allocations: 79.61 kB / 331 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1045, allocations: 12 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.767e-05/0.1045, allocations: 8 kB / 331 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.1046, allocations: 19.92 kB / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1047, allocations: 57.64 kB / 331.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1049, allocations: 155.8 kB / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1049, allocations: 0 / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1049, allocations: 0 / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1049, allocations: 4 kB / 331.3 MB, free: 1.137 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.0007194/0.1056, allocations: 450.5 kB / 331.7 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1057, allocations: 16.02 kB / 331.7 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.1058, allocations: 15.81 kB / 331.7 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1061, allocations: 218.7 kB / 331.9 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1061, allocations: 16 kB / 332 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.1061, allocations: 27.91 kB / 332 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.1065, allocations: 145.4 kB / 332.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1065, allocations: 0 / 332.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1065, allocations: 4 kB / 332.1 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1065, allocations: 4 kB / 332.1 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.1068, allocations: 119.6 kB / 332.3 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/0.1078, allocations: 0.6005 MB / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.108, allocations: 118.6 kB / 333 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.108, allocations: 0 / 333 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1081, allocations: 30.56 kB / 333 MB, free: 15.22 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1081, allocations: 3.938 kB / 333 MB, free: 15.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001542/0.1096, allocations: 0.806 MB / 333.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.1097, allocations: 63.41 kB / 333.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1099, allocations: 154.2 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.11, allocations: 33.7 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.1101, allocations: 132.3 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1101, allocations: 63.02 kB / 334.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.1101, allocations: 4 kB / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1103, allocations: 326.8 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1104, allocations: 48.34 kB / 334.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1105, allocations: 80.16 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1106, allocations: 55.31 kB / 334.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1107, allocations: 4 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003606/0.111, allocations: 202.3 kB / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1111, allocations: 6.812 kB / 335 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1111, allocations: 7.953 kB / 335 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1112, allocations: 40.77 kB / 335 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1114, allocations: 31.98 kB / 335 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.1128, allocations: 1.437 MB / 336.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.1129, allocations: 4.031 kB / 336.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1129, allocations: 12.06 kB / 336.5 MB, free: 11.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.113, allocations: 129.8 kB / 336.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.113, allocations: 23.78 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1131, allocations: 25.14 kB / 336.7 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1131, allocations: 4 kB / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1131, allocations: 0 / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1131, allocations: 0 / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.1141, allocations: 0.5917 MB / 337.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1141, allocations: 0 / 337.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1142, allocations: 27.98 kB / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.1144, allocations: 36.84 kB / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1144, allocations: 0 / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.1154, allocations: 1.386 MB / 338.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1154, allocations: 11.83 kB / 338.7 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.1159, allocations: 344 kB / 339.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.116, allocations: 97.31 kB / 339.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.116, allocations: 4 kB / 339.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.1161, allocations: 4 kB / 339.2 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1162, allocations: 19.95 kB / 339.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.1162, allocations: 4 kB / 339.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1163, allocations: 119.2 kB / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1163, allocations: 0 / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1166, allocations: 44 kB / 339.3 MB, free: 8.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.1168, allocations: 103.2 kB / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.1173, allocations: 257.8 kB / 339.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1173, allocations: 0 / 339.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.1176, allocations: 190.7 kB / 339.9 MB, free: 7.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1179, allocations: 19.98 kB / 339.9 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1189, allocations: 0.5968 MB / 340.5 MB, free: 7.129 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.1194, allocations: 0.7323 MB / 341.2 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.872e-05/0.1195, allocations: 17.55 kB / 341.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1195, allocations: 19.42 kB / 341.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1195, allocations: 0 / 341.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of Templates: time 0.004748/0.1243, allocations: 1.66 MB / 342.9 MB, free: 4.676 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches