Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 47.92 kB / 374.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1094, allocations: 53.32 MB / 427.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004086/0.1135, allocations: 2.15 MB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1148, allocations: 0.5765 MB / 430.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.115, allocations: 4 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1152, allocations: 35.66 kB / 430.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1154, allocations: 47.5 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1156, allocations: 59.92 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.1159, allocations: 211 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1161, allocations: 49.66 kB / 430.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1162, allocations: 71.78 kB / 430.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1164, allocations: 83.62 kB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.1164, allocations: 16 kB / 430.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.1164, allocations: 16 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.1165, allocations: 43.78 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1166, allocations: 95.53 kB / 430.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1169, allocations: 211.1 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1169, allocations: 8 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1169, allocations: 0 / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.117, allocations: 0 / 431.1 MB, free: 0.6406 MB / 350.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.0008333/0.1178, allocations: 470.6 kB / 431.6 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1178, allocations: 12.03 kB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.1179, allocations: 16.84 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1183, allocations: 228.1 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1183, allocations: 16.16 kB / 431.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1183, allocations: 16.38 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.1187, allocations: 157.9 kB / 432 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1187, allocations: 7.938 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1188, allocations: 4 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1188, allocations: 4 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.119, allocations: 111.5 kB / 432.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.12, allocations: 0.5889 MB / 432.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1202, allocations: 106.6 kB / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.1203, allocations: 36.84 kB / 432.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1203, allocations: 4 kB / 432.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1204, allocations: 38.5 kB / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1204, allocations: 0 / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001747/0.1221, allocations: 0.806 MB / 433.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1222, allocations: 59.34 kB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1223, allocations: 158.2 kB / 433.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1224, allocations: 29.7 kB / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1225, allocations: 132.4 kB / 434.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.1225, allocations: 63.42 kB / 434.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.1226, allocations: 33.72 kB / 434.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1228, allocations: 334.8 kB / 434.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1229, allocations: 43.98 kB / 434.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.123, allocations: 75.34 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.1233, allocations: 135.3 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1233, allocations: 0 / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004169/0.1237, allocations: 200.5 kB / 435 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.1237, allocations: 8 kB / 435 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1237, allocations: 0 / 435 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.1239, allocations: 48.77 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.1241, allocations: 32.05 kB / 435 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.1257, allocations: 1.528 MB / 436.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1258, allocations: 15.95 kB / 436.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1258, allocations: 4 kB / 436.6 MB, free: 10.69 MB / 366.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.0001692/0.126, allocations: 141.7 kB / 436.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.126, allocations: 11.91 kB / 436.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1261, allocations: 17.19 kB / 436.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1261, allocations: 4 kB / 436.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1261, allocations: 4.062 kB / 436.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1261, allocations: 7.922 kB / 436.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.1271, allocations: 0.5827 MB / 437.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1271, allocations: 3.938 kB / 437.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.1272, allocations: 31.92 kB / 437.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.1273, allocations: 36.83 kB / 437.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1274, allocations: 4.047 kB / 437.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.1287, allocations: 1.473 MB / 438.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1287, allocations: 0 / 438.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.1293, allocations: 340 kB / 439.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.1293, allocations: 96.97 kB / 439.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1294, allocations: 8 kB / 439.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.1295, allocations: 4.125 kB / 439.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.1295, allocations: 15.98 kB / 439.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1295, allocations: 4 kB / 439.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1296, allocations: 120.1 kB / 439.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1296, allocations: 0 / 439.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.1299, allocations: 48 kB / 439.5 MB, free: 7.496 MB / 366.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.0001347/0.1301, allocations: 107.7 kB / 439.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.1306, allocations: 246.4 kB / 439.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1306, allocations: 0 / 439.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.1309, allocations: 182.6 kB / 440.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1312, allocations: 30.2 kB / 440.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.1322, allocations: 0.5239 MB / 440.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1326, allocations: 0.7281 MB / 441.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.1327, allocations: 15.44 kB / 441.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1327, allocations: 0 / 441.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of Templates: time 0.005939/0.1386, allocations: 2.899 MB / 444.2 MB, free: 2.684 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.610226665012306]