Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001857/0.001858, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002154, allocations: 60.28 kB / 306.9 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09507, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.0034/0.09851, allocations: 2.118 MB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.0995, allocations: 0.5843 MB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.09968, allocations: 4 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.09984, allocations: 35.64 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.09996, allocations: 43.56 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1001, allocations: 59.88 kB / 360.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1004, allocations: 203.2 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1005, allocations: 73.62 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.1007, allocations: 79.66 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1008, allocations: 87.61 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.1008, allocations: 16 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.277e-05/0.1009, allocations: 16 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.1009, allocations: 27.92 kB / 360.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.101, allocations: 99.53 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1012, allocations: 215.5 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1012, allocations: 0 / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1012, allocations: 0 / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1013, allocations: 0 / 361.1 MB, free: 10.45 MB / 302.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.0006308/0.1019, allocations: 466.8 kB / 361.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1019, allocations: 8.031 kB / 361.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.102, allocations: 20.66 kB / 361.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1022, allocations: 226.9 kB / 361.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1022, allocations: 12.38 kB / 361.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.1023, allocations: 24.27 kB / 361.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1026, allocations: 153.7 kB / 362 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1026, allocations: 0 / 362 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1026, allocations: 8 kB / 362 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1027, allocations: 7.938 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.1029, allocations: 103.9 kB / 362.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.1037, allocations: 0.6041 MB / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.104, allocations: 114.6 kB / 362.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.1041, allocations: 40.84 kB / 362.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1041, allocations: 0 / 362.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1041, allocations: 34.56 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.61e-07/0.1041, allocations: 0 / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001422/0.1055, allocations: 0.8015 MB / 363.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1056, allocations: 55.41 kB / 363.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1057, allocations: 156.7 kB / 363.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1057, allocations: 29.7 kB / 363.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.1058, allocations: 136.3 kB / 364.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.1059, allocations: 71 kB / 364.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.1059, allocations: 33.7 kB / 364.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.106, allocations: 326.8 kB / 364.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1062, allocations: 39.98 kB / 364.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1063, allocations: 82.41 kB / 364.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1065, allocations: 134.2 kB / 364.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1065, allocations: 0 / 364.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004048/0.1069, allocations: 210 kB / 365 MB, free: 6.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1069, allocations: 8.062 kB / 365 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1069, allocations: 0 / 365 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1071, allocations: 36.84 kB / 365 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1073, allocations: 39.91 kB / 365 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.1084, allocations: 1.524 MB / 366.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.1085, allocations: 11.94 kB / 366.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1085, allocations: 8.062 kB / 366.6 MB, free: 4.5 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.0001045/0.1086, allocations: 133.8 kB / 366.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1087, allocations: 15.81 kB / 366.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1087, allocations: 17.17 kB / 366.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1087, allocations: 4 kB / 366.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1088, allocations: 0 / 366.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1088, allocations: 3.938 kB / 366.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.1095, allocations: 0.5942 MB / 367.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1095, allocations: 0 / 367.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1097, allocations: 27.98 kB / 367.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.1098, allocations: 40.77 kB / 367.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1098, allocations: 7.938 kB / 367.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.1109, allocations: 1.477 MB / 368.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1109, allocations: 3.938 kB / 368.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.1114, allocations: 336.1 kB / 369.2 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1114, allocations: 88.95 kB / 369.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1115, allocations: 8 kB / 369.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.1116, allocations: 0 / 369.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1116, allocations: 23.91 kB / 369.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1116, allocations: 4 kB / 369.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.1117, allocations: 119.4 kB / 369.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1117, allocations: 0 / 369.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.112, allocations: 48 kB / 369.5 MB, free: 1.309 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.0001123/0.1121, allocations: 107.2 kB / 369.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.1127, allocations: 254.5 kB / 369.9 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1127, allocations: 3.938 kB / 369.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.1129, allocations: 182.7 kB / 370.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1133, allocations: 36.09 kB / 370.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008463/0.1142, allocations: 0.4964 MB / 370.6 MB, free: 184 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1482/0.2624, allocations: 0.7269 MB / 371.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.2625, allocations: 14.8 kB / 371.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.2626, allocations: 19.34 kB / 371.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2626, allocations: 2.406 kB / 371.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of Templates: time 0.005097/0.2677, allocations: 1.825 MB / 373.2 MB, free: 19.5 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches