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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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=5000,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=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001742, allocations: 47.92 kB / 358.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1041, allocations: 49.44 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003935/0.108, allocations: 2.118 MB / 410.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1094, allocations: 0.5336 MB / 410.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1096, allocations: 7.938 kB / 410.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1099, allocations: 35.72 kB / 410.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1101, allocations: 55.48 kB / 410.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1104, allocations: 51.95 kB / 410.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.1107, allocations: 203.1 kB / 411.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.111, allocations: 77.61 kB / 411.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1111, allocations: 75.67 kB / 411.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1113, allocations: 79.62 kB / 411.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1114, allocations: 19.98 kB / 411.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.1114, allocations: 20 kB / 411.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.1115, allocations: 35.91 kB / 411.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1116, allocations: 91.55 kB / 411.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1119, allocations: 211.1 kB / 411.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1119, allocations: 0 / 411.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1119, allocations: 0 / 411.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.112, allocations: 4 kB / 411.7 MB, free: 3.289 MB / 334.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.0008288/0.1128, allocations: 474.6 kB / 412.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1128, allocations: 12.03 kB / 412.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.1129, allocations: 24.8 kB / 412.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.1133, allocations: 224 kB / 412.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1133, allocations: 16.38 kB / 412.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1134, allocations: 16.38 kB / 412.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1137, allocations: 161.6 kB / 412.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1138, allocations: 0 / 412.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1138, allocations: 11.94 kB / 412.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1138, allocations: 8 kB / 412.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.1141, allocations: 99.72 kB / 412.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1151, allocations: 0.5928 MB / 413.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1154, allocations: 122.6 kB / 413.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1155, allocations: 44.84 kB / 413.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1155, allocations: 0 / 413.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1156, allocations: 34.56 kB / 413.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1156, allocations: 0 / 413.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001762/0.1174, allocations: 0.8008 MB / 414.3 MB, free: 420 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1174, allocations: 55.34 kB / 414.4 MB, free: 352 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1176, allocations: 162.8 kB / 414.5 MB, free: 180 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1176, allocations: 25.7 kB / 414.5 MB, free: 148 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.1177, allocations: 128.4 kB / 414.7 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.1178, allocations: 75.59 kB / 414.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.1179, allocations: 33.72 kB / 414.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1181, allocations: 334.6 kB / 415.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1182, allocations: 39.98 kB / 415.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1184, allocations: 76.66 kB / 415.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1186, allocations: 137.9 kB / 415.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1187, allocations: 0 / 415.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004281/0.1191, allocations: 206.2 kB / 415.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1191, allocations: 4 kB / 415.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1191, allocations: 4 kB / 415.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.1193, allocations: 44.89 kB / 415.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1195, allocations: 27.98 kB / 415.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.121, allocations: 1.535 MB / 417.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1211, allocations: 12.02 kB / 417.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.1212, allocations: 4 kB / 417.2 MB, free: 13.31 MB / 350.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.0001491/0.1213, allocations: 129.8 kB / 417.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.1214, allocations: 15.97 kB / 417.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.1214, allocations: 29.22 kB / 417.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1215, allocations: 0 / 417.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1215, allocations: 7.938 kB / 417.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1215, allocations: 3.984 kB / 417.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.1224, allocations: 0.5839 MB / 417.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1224, allocations: 0 / 417.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1226, allocations: 31.98 kB / 418 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.1227, allocations: 32.83 kB / 418 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1227, allocations: 4 kB / 418 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.1241, allocations: 1.477 MB / 419.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1241, allocations: 0 / 419.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.1246, allocations: 338.2 kB / 419.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.1247, allocations: 93.03 kB / 419.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1248, allocations: 8 kB / 419.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.1249, allocations: 0 / 419.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.1249, allocations: 15.98 kB / 419.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1249, allocations: 8 kB / 419.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.125, allocations: 115.2 kB / 420.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1251, allocations: 0 / 420.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1254, allocations: 51.94 kB / 420.1 MB, free: 10.12 MB / 350.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.0001479/0.1255, allocations: 115.8 kB / 420.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.1261, allocations: 254.5 kB / 420.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1261, allocations: 0 / 420.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.1264, allocations: 190.5 kB / 420.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1268, allocations: 30.98 kB / 420.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1278, allocations: 0.5149 MB / 421.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1283, allocations: 0.732 MB / 421.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.1284, allocations: 15.44 kB / 421.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1284, allocations: 0 / 421.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of Templates: time 0.006004/0.1344, allocations: 2.894 MB / 424.8 MB, free: 5.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.509240824030712]