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.001271/0.001271, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001344/0.001344, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.402/1.402, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 43.5 kB / 300.6 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 49.45 MB / 350 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004015/0.1149, allocations: 2.117 MB / 352.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.116, allocations: 0.5454 MB / 352.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1162, allocations: 4 kB / 352.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1164, allocations: 31.66 kB / 352.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1165, allocations: 55.48 kB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1167, allocations: 43.95 kB / 352.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.117, allocations: 215 kB / 353.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.1172, allocations: 69.52 kB / 353.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1174, allocations: 79.7 kB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1175, allocations: 79.69 kB / 353.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.1176, allocations: 19.94 kB / 353.3 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.762e-05/0.1176, allocations: 16 kB / 353.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1177, allocations: 43.84 kB / 353.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.426e-05/0.1178, allocations: 87.55 kB / 353.4 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.118, allocations: 215.5 kB / 353.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.118, allocations: 0 / 353.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.118, allocations: 0 / 353.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.118, allocations: 0 / 353.7 MB, free: 0.7969 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.0006264/0.1187, allocations: 470.9 kB / 354.1 MB, free: 296 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1187, allocations: 12.02 kB / 354.1 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1188, allocations: 24.66 kB / 354.1 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.119, allocations: 224.1 kB / 354.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1191, allocations: 8.375 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.1191, allocations: 20.38 kB / 354.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1194, allocations: 153.5 kB / 354.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1194, allocations: 7.906 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1195, allocations: 7.938 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1195, allocations: 4 kB / 354.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.1198, allocations: 103.9 kB / 354.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.1206, allocations: 0.5926 MB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1209, allocations: 114.6 kB / 355.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.121, allocations: 40.84 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.121, allocations: 0 / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.121, allocations: 42.48 kB / 355.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.121, allocations: 0 / 355.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001543/0.1226, allocations: 0.7859 MB / 356.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1226, allocations: 59.34 kB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1228, allocations: 162.2 kB / 356.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.1228, allocations: 29.7 kB / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.1229, allocations: 140.2 kB / 356.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.123, allocations: 63.02 kB / 356.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/0.1231, allocations: 37.7 kB / 356.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1232, allocations: 326.8 kB / 357 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1234, allocations: 47.97 kB / 357.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1235, allocations: 79.34 kB / 357.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1237, allocations: 123.4 kB / 357.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1237, allocations: 0 / 357.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000395/0.1241, allocations: 209.1 kB / 357.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1242, allocations: 8.062 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1242, allocations: 4 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.1244, allocations: 36.78 kB / 357.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1246, allocations: 39.97 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.1259, allocations: 1.527 MB / 359.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.126, allocations: 8.156 kB / 359.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1261, allocations: 16.06 kB / 359.1 MB, free: 10.83 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.0001187/0.1262, allocations: 129.8 kB / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.1263, allocations: 19.8 kB / 359.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.1263, allocations: 25.17 kB / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1263, allocations: 0 / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1263, allocations: 0 / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1263, allocations: 3.938 kB / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/0.1271, allocations: 0.5865 MB / 359.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1272, allocations: 0 / 359.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1273, allocations: 35.91 kB / 359.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.1274, allocations: 36.84 kB / 360 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1275, allocations: 0 / 360 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.1285, allocations: 1.473 MB / 361.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1285, allocations: 0 / 361.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.129, allocations: 344 kB / 361.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1291, allocations: 97.03 kB / 361.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1291, allocations: 4 kB / 361.9 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.1292, allocations: 4 kB / 361.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1293, allocations: 19.95 kB / 361.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1293, allocations: 8 kB / 361.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1294, allocations: 120.1 kB / 362 MB, free: 7.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1294, allocations: 0 / 362 MB, free: 7.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.1297, allocations: 44 kB / 362.1 MB, free: 7.645 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.0001395/0.1299, allocations: 111.7 kB / 362.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.1304, allocations: 262.4 kB / 362.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1304, allocations: 3.938 kB / 362.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.1307, allocations: 186.6 kB / 362.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.1311, allocations: 34.77 kB / 362.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.132, allocations: 495.2 kB / 363.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1323, allocations: 0.7359 MB / 363.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.1324, allocations: 13.55 kB / 363.9 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1324, allocations: 19.44 kB / 363.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1324, allocations: 0 / 363.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of Templates: time 0.004917/0.1373, allocations: 1.822 MB / 365.7 MB, free: 3.91 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/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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches