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.001889/0.001889, allocations: 122.5 kB / 18.46 MB, free: 4.449 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.002279/0.002279, allocations: 190.6 kB / 21.4 MB, free: 1.52 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.513/1.513, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.001532/0.001532, allocations: 51.92 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09998, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003674/0.1037, allocations: 2.136 MB / 421.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.1046, allocations: 0.5376 MB / 421.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1047, allocations: 4 kB / 421.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1049, allocations: 39.66 kB / 421.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.105, allocations: 43.56 kB / 421.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1052, allocations: 59.88 kB / 421.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1055, allocations: 203.1 kB / 422 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1056, allocations: 53.64 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1057, allocations: 79.7 kB / 422.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1059, allocations: 79.64 kB / 422.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1059, allocations: 16 kB / 422.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/0.106, allocations: 20 kB / 422.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.106, allocations: 35.84 kB / 422.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1061, allocations: 95.59 kB / 422.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1064, allocations: 207.1 kB / 422.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1064, allocations: 0 / 422.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1064, allocations: 4 kB / 422.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1064, allocations: 3.938 kB / 422.5 MB, free: 8.492 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.0007298/0.1072, allocations: 482.6 kB / 423 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1072, allocations: 12.03 kB / 423 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.1073, allocations: 20.8 kB / 423 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1076, allocations: 227.9 kB / 423.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1076, allocations: 16.38 kB / 423.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.1076, allocations: 16.38 kB / 423.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.108, allocations: 157.7 kB / 423.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.108, allocations: 0 / 423.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.108, allocations: 12 kB / 423.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.108, allocations: 4 kB / 423.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.1083, allocations: 107.7 kB / 423.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.1092, allocations: 0.585 MB / 424.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1095, allocations: 114.6 kB / 424.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.1096, allocations: 36.84 kB / 424.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1096, allocations: 0 / 424.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1096, allocations: 34.56 kB / 424.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1096, allocations: 0 / 424.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001704/0.1113, allocations: 0.8027 MB / 425.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.1114, allocations: 51.41 kB / 425.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1115, allocations: 162.8 kB / 425.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1116, allocations: 25.7 kB / 425.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1117, allocations: 132.5 kB / 425.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.1117, allocations: 67.44 kB / 425.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.1118, allocations: 33.7 kB / 425.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.112, allocations: 330.8 kB / 425.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1121, allocations: 39.98 kB / 426 MB, free: 4.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1122, allocations: 75.41 kB / 426 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.1125, allocations: 135.3 kB / 426.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1125, allocations: 4 kB / 426.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004234/0.1129, allocations: 205 kB / 426.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1129, allocations: 11.98 kB / 426.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1129, allocations: 8 kB / 426.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001814/0.1131, allocations: 36.84 kB / 426.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1133, allocations: 31.92 kB / 426.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1147, allocations: 1.535 MB / 428 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.1148, allocations: 11.97 kB / 428 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1148, allocations: 4 kB / 428 MB, free: 2.531 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.0001373/0.115, allocations: 133.8 kB / 428.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.115, allocations: 19.91 kB / 428.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1151, allocations: 21.17 kB / 428.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1151, allocations: 0 / 428.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1151, allocations: 7.938 kB / 428.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.1151, allocations: 3.938 kB / 428.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009101/0.116, allocations: 0.5899 MB / 428.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.116, allocations: 4 kB / 428.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1161, allocations: 32.11 kB / 428.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.1163, allocations: 36.83 kB / 428.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1163, allocations: 4 kB / 428.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1176, allocations: 1.477 MB / 430.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1176, allocations: 0 / 430.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.1181, allocations: 338.6 kB / 430.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1182, allocations: 92.98 kB / 430.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1182, allocations: 8 kB / 430.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.1183, allocations: 0 / 430.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.1184, allocations: 15.98 kB / 430.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1184, allocations: 7.984 kB / 430.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.1185, allocations: 111.3 kB / 430.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1185, allocations: 0 / 430.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1188, allocations: 56.05 kB / 431 MB, free: 15.33 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.0001335/0.1189, allocations: 103.7 kB / 431.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.1195, allocations: 256.9 kB / 431.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1195, allocations: 0 / 431.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.1198, allocations: 190.6 kB / 431.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1201, allocations: 20 kB / 431.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.1211, allocations: 0.5237 MB / 432 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1215, allocations: 0.7242 MB / 432.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1216, allocations: 15.44 kB / 432.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1216, allocations: 0 / 432.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Templates: time 0.00594/0.1275, allocations: 2.916 MB / 435.7 MB, free: 10.5 MB / 366.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.677992812125012]