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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 82.09 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 160.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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=5000,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=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.48 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09932, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003813/0.1031, allocations: 2.045 MB / 380.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1043, allocations: 0.5493 MB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1044, allocations: 4 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1045, allocations: 35.64 kB / 381.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.1046, allocations: 47.56 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.1048, allocations: 55.88 kB / 381.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1051, allocations: 207 kB / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1053, allocations: 49.78 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.1054, allocations: 71.78 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1055, allocations: 75.61 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1055, allocations: 16 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.1056, allocations: 20 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.1056, allocations: 35.84 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.1057, allocations: 71.67 kB / 382.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.106, allocations: 219.1 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.106, allocations: 4 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.106, allocations: 0 / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.106, allocations: 0 / 382.4 MB, free: 11.96 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.0006859/0.1067, allocations: 401.5 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1067, allocations: 19.97 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1068, allocations: 16.84 kB / 382.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1071, allocations: 166.1 kB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1071, allocations: 24.16 kB / 383 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1072, allocations: 16.38 kB / 383 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1075, allocations: 149.9 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1075, allocations: 4 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.1075, allocations: 8 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1075, allocations: 4 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.1078, allocations: 103.7 kB / 383.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.1087, allocations: 491 kB / 383.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1089, allocations: 106.6 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.109, allocations: 44.83 kB / 383.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.109, allocations: 0 / 383.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.109, allocations: 38.5 kB / 383.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.1091, allocations: 0 / 383.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001495/0.1105, allocations: 0.6504 MB / 384.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1106, allocations: 55.34 kB / 384.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1107, allocations: 149 kB / 384.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1107, allocations: 29.7 kB / 384.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.1108, allocations: 128.5 kB / 384.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.1109, allocations: 67.42 kB / 385 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.1109, allocations: 33.72 kB / 385 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1111, allocations: 326.8 kB / 385.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1112, allocations: 43.92 kB / 385.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1113, allocations: 79.41 kB / 385.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.1116, allocations: 131.3 kB / 385.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1116, allocations: 0 / 385.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003966/0.112, allocations: 198.3 kB / 385.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.112, allocations: 7.938 kB / 385.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.112, allocations: 12.06 kB / 385.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.1122, allocations: 40.83 kB / 385.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1123, allocations: 31.92 kB / 385.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.1137, allocations: 1.394 MB / 387.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.1138, allocations: 4 kB / 387.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1138, allocations: 8.047 kB / 387.3 MB, free: 6.688 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.0001516/0.114, allocations: 148.6 kB / 387.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.114, allocations: 15.94 kB / 387.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.114, allocations: 13.12 kB / 387.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.114, allocations: 4 kB / 387.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1141, allocations: 0 / 387.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1141, allocations: 192 / 387.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.1149, allocations: 0.5095 MB / 388 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1149, allocations: 4 kB / 388 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.115, allocations: 31.92 kB / 388 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.1152, allocations: 32.84 kB / 388.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1152, allocations: 0 / 388.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.1165, allocations: 1.347 MB / 389.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1165, allocations: 3.938 kB / 389.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.117, allocations: 338.8 kB / 389.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.1171, allocations: 19.81 kB / 389.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1171, allocations: 8.078 kB / 389.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.1172, allocations: 4 kB / 389.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.1172, allocations: 15.95 kB / 389.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1172, allocations: 8 kB / 389.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.1173, allocations: 107.2 kB / 389.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1173, allocations: 0 / 389.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1176, allocations: 44 kB / 389.9 MB, free: 3.863 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.000169/0.1178, allocations: 99.31 kB / 390 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.1185, allocations: 245.2 kB / 390.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.1185, allocations: 4 kB / 390.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.1188, allocations: 190.5 kB / 390.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1192, allocations: 31.14 kB / 390.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1202, allocations: 499.9 kB / 391 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.1204, allocations: 120.2 kB / 391.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.987e-05/0.1204, allocations: 13.48 kB / 391.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1205, allocations: 12.5 kB / 391.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1205, allocations: 4 kB / 391.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Templates: time 0.005406/0.1259, allocations: 1.812 MB / 392.9 MB, free: 0.8086 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.329360023024492]