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.0009498/0.0009498, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001053/0.001053, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.9228/0.9228, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.764e-05, allocations: 2.312 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002177/0.002194, allocations: 2.151 MB / 275.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006774/0.002872, allocations: 0.5609 MB / 275.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.002965, allocations: 7.938 kB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.003092, allocations: 31.66 kB / 275.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.003164, allocations: 55.55 kB / 275.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.003304, allocations: 55.86 kB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003477, allocations: 210.9 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.003605, allocations: 53.7 kB / 276.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.003704, allocations: 111.8 kB / 276.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.003799, allocations: 67.8 kB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.003827, allocations: 16 kB / 276.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.003846, allocations: 16 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.003874, allocations: 31.91 kB / 276.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.003926, allocations: 71.83 kB / 276.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.004092, allocations: 135.4 kB / 276.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.004095, allocations: 8 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004096, allocations: 0 / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.004099, allocations: 0 / 276.6 MB, free: 14.27 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.0004599/0.004559, allocations: 495.8 kB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.004592, allocations: 12.03 kB / 277.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.004646, allocations: 32.84 kB / 277.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.004817, allocations: 170.7 kB / 277.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.004831, allocations: 12.38 kB / 277.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.004859, allocations: 16.38 kB / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.005046, allocations: 130.9 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.005058, allocations: 192 / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.005072, allocations: 4.375 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.005082, allocations: 7.938 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.005182, allocations: 71.44 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.005729, allocations: 0.5295 MB / 278.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.005863, allocations: 87.12 kB / 278.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.005903, allocations: 27.67 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.005914, allocations: 3.938 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.005936, allocations: 41.33 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 7.61e-07/0.005936, allocations: 0 / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008313/0.006768, allocations: 0.5695 MB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.006793, allocations: 55.41 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.006888, allocations: 197.1 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.006903, allocations: 33.7 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.006967, allocations: 179.2 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.007002, allocations: 67.42 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.007046, allocations: 43.36 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.007152, allocations: 0.4884 MB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.007193, allocations: 23.98 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.007259, allocations: 89.53 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.007365, allocations: 98.25 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.007365, allocations: 3.938 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002/0.007565, allocations: 161.1 kB / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.007579, allocations: 11.98 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.007584, allocations: 3.938 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.007715, allocations: 39.67 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.007816, allocations: 31.98 kB / 280.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008596/0.008675, allocations: 1.834 MB / 282.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.008718, allocations: 15.98 kB / 282.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.008727, allocations: 7.984 kB / 282.2 MB, free: 8.301 MB / 266.7 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 7.951e-05/0.008807, allocations: 176.5 kB / 282.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.008831, allocations: 11.95 kB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.008854, allocations: 21.12 kB / 282.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.008855, allocations: 0 / 282.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.008859, allocations: 4 kB / 282.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008862, allocations: 3.984 kB / 282.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.009295, allocations: 0.5137 MB / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009297, allocations: 0 / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.009378, allocations: 27.98 kB / 282.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.424e-05/0.009463, allocations: 35.59 kB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.009472, allocations: 7.938 kB / 283 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007231/0.0102, allocations: 1.803 MB / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0102, allocations: 0 / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.01045, allocations: 327.3 kB / 285.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.01046, allocations: 15.89 kB / 285.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.01047, allocations: 8 kB / 285.1 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.01052, allocations: 3.938 kB / 285.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.01055, allocations: 15.97 kB / 285.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.01056, allocations: 4 kB / 285.1 MB, free: 5.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.01061, allocations: 146.1 kB / 285.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 285.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.01079, allocations: 44 kB / 285.3 MB, free: 4.934 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 7.519e-05/0.01087, allocations: 107.2 kB / 285.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01116, allocations: 277.3 kB / 285.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01116, allocations: 0 / 285.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.0113, allocations: 240.2 kB / 285.9 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01156, allocations: 28.11 kB / 285.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.0123, allocations: 438.5 kB / 286.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01235, allocations: 75.98 kB / 286.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.01239, allocations: 17.48 kB / 286.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.01243, allocations: 16.5 kB / 286.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01243, allocations: 0 / 286.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of Templates: time 0.003524/0.01595, allocations: 1.846 MB / 288.3 MB, free: 1.832 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.6017318710219115]