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.001419/0.001419, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001108/0.001108, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9316/0.9316, allocations: 177.1 MB / 205 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.47e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002335/0.00235, allocations: 2.163 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.003267, allocations: 0.557 MB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.003391, allocations: 7.938 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.003528, allocations: 39.64 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.003615, allocations: 55.5 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.003786, allocations: 51.86 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.003981, allocations: 211 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.004167, allocations: 49.72 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.004439, allocations: 115.8 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004597, allocations: 63.8 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.004832, allocations: 16 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.47e-05/0.004866, allocations: 16 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.004914, allocations: 43.83 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.005002, allocations: 63.84 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.005312, allocations: 131.5 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005315, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005317, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.005323, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 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.0006531/0.005976, allocations: 0.4959 MB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.006026, allocations: 11.97 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.821e-05/0.006114, allocations: 32.84 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.00638, allocations: 176.3 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006399, allocations: 8.375 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.006445, allocations: 20.38 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.006752, allocations: 122.9 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.006772, allocations: 8.125 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.006793, allocations: 4.375 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.006806, allocations: 7.938 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.006974, allocations: 67.5 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.007694, allocations: 0.5256 MB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.007977, allocations: 87.12 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.008019, allocations: 27.67 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.008033, allocations: 4 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.008053, allocations: 33.39 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.008054, allocations: 3.938 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009893/0.009044, allocations: 0.5715 MB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.009078, allocations: 55.41 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.00921, allocations: 201.8 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.009225, allocations: 29.7 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.009311, allocations: 183.1 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.009355, allocations: 63.44 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.009421, allocations: 47.36 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.009558, allocations: 0.4962 MB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.009613, allocations: 27.98 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.009707, allocations: 85.28 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.009868, allocations: 122 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00987, allocations: 0 / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003073/0.01018, allocations: 192.9 kB / 280.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01019, allocations: 4 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.0102, allocations: 4.125 kB / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.01038, allocations: 39.66 kB / 280.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01053, allocations: 31.98 kB / 280.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.01212, allocations: 1.846 MB / 282.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.01219, allocations: 4.031 kB / 282.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01221, allocations: 15.94 kB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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 9.462e-05/0.0123, allocations: 168.6 kB / 282.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.01233, allocations: 23.84 kB / 282.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.01236, allocations: 17.17 kB / 282.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01236, allocations: 7.984 kB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01236, allocations: 0 / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.01237, allocations: 0 / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.01284, allocations: 0.5217 MB / 282.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01284, allocations: 0 / 282.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.01293, allocations: 23.98 kB / 282.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.371e-05/0.01301, allocations: 35.59 kB / 282.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.01302, allocations: 4 kB / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007702/0.0138, allocations: 1.81 MB / 284.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0138, allocations: 0 / 284.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.01404, allocations: 323.3 kB / 285.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.01404, allocations: 7.953 kB / 285.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.01406, allocations: 8 kB / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.01411, allocations: 7.922 kB / 285.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.01415, allocations: 24.06 kB / 285.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.01415, allocations: 3.984 kB / 285.1 MB, free: 4.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.01421, allocations: 154.2 kB / 285.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01421, allocations: 4.062 kB / 285.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.0144, allocations: 44 kB / 285.3 MB, free: 4.367 MB / 266.7 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 8.587e-05/0.01449, allocations: 103.2 kB / 285.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.0148, allocations: 285.2 kB / 285.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0148, allocations: 0 / 285.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.01493, allocations: 236.7 kB / 285.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01516, allocations: 27.98 kB / 286 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.01589, allocations: 446.3 kB / 286.4 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.01594, allocations: 75.98 kB / 286.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.01598, allocations: 13.48 kB / 286.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.01601, allocations: 16.5 kB / 286.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01601, allocations: 0 / 286.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of Templates: time 0.004083/0.02009, allocations: 1.929 MB / 288.4 MB, free: 1.184 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5229556341655552]