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.002571/0.002571, allocations: 91.61 kB / 20.96 MB, free: 3.469 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.002849/0.002849, allocations: 169.3 kB / 24.28 MB, free: 156 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 1.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 1.703e-06/1.703e-06, allocations: 0 / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.341e-05, allocations: 6.312 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.006103/0.006136, allocations: 2.139 MB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.007892, allocations: 0.5493 MB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.008039, allocations: 8 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.008246, allocations: 31.66 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.008456, allocations: 55.48 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.008743, allocations: 55.86 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.009179, allocations: 211 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.009382, allocations: 45.78 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.009661, allocations: 119.7 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.009862, allocations: 59.86 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.009913, allocations: 20 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.455e-05/0.009978, allocations: 16 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.01004, allocations: 35.84 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.01019, allocations: 67.83 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.0107, allocations: 215.3 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.01071, allocations: 4 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01071, allocations: 0 / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01071, allocations: 0 / 275.9 MB, free: 14.24 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.001208/0.01192, allocations: 0.5072 MB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.01197, allocations: 12.03 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.01209, allocations: 28.84 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.01251, allocations: 174.8 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.01255, allocations: 16.38 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.0126, allocations: 12.38 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.01311, allocations: 146.2 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.01313, allocations: 192 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.01316, allocations: 8.359 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01317, allocations: 7.938 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.0136, allocations: 103.7 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.01523, allocations: 0.5687 MB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.01568, allocations: 123.1 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.01585, allocations: 39.67 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.01588, allocations: 4 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.01594, allocations: 33.39 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.01594, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002617/0.01855, allocations: 0.6818 MB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.01862, allocations: 55.41 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.01892, allocations: 209.1 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.01896, allocations: 29.7 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.01916, allocations: 183.2 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.01928, allocations: 71.42 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.01943, allocations: 55.36 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004375/0.01986, allocations: 0.5001 MB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.02004, allocations: 43.92 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.02031, allocations: 94.66 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.02075, allocations: 146.6 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.02075, allocations: 0 / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007472/0.0215, allocations: 216.9 kB / 279.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.02152, allocations: 8 kB / 279.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.02153, allocations: 0 / 279.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.02185, allocations: 51.59 kB / 280 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.02211, allocations: 35.92 kB / 280 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.02521, allocations: 1.928 MB / 282 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.02534, allocations: 4 kB / 282 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.02537, allocations: 8 kB / 282 MB, free: 7.754 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 0.0002678/0.02564, allocations: 188.4 kB / 282.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.02572, allocations: 15.95 kB / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.02581, allocations: 21.11 kB / 282.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02581, allocations: 0 / 282.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.02581, allocations: 0 / 282.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.02582, allocations: 4 kB / 282.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.02741, allocations: 0.5926 MB / 282.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.02741, allocations: 0 / 282.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.02768, allocations: 31.92 kB / 282.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.02792, allocations: 47.62 kB / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.02794, allocations: 4 kB / 282.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.0306, allocations: 1.869 MB / 284.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0306, allocations: 0 / 284.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.03161, allocations: 399.2 kB / 285.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.03164, allocations: 11.91 kB / 285.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.03168, allocations: 8 kB / 285.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.03184, allocations: 3.938 kB / 285.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.03192, allocations: 15.97 kB / 285.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.03193, allocations: 8.062 kB / 285.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.03212, allocations: 151.2 kB / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.03212, allocations: 0 / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005631/0.03268, allocations: 47.94 kB / 285.4 MB, free: 4.133 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 0.0002123/0.03289, allocations: 103.2 kB / 285.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009252/0.03382, allocations: 321.3 kB / 285.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.03382, allocations: 128 / 285.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.03438, allocations: 265.4 kB / 286 MB, free: 3.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.03497, allocations: 25.84 kB / 286.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.0364, allocations: 450.4 kB / 286.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.0366, allocations: 120.2 kB / 286.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.03671, allocations: 9.5 kB / 286.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.03678, allocations: 20.5 kB / 286.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03678, allocations: 0 / 286.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of Templates: time 0.00967/0.04645, allocations: 1.848 MB / 288.5 MB, free: 0.9219 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","/var/lib/jenkins/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: 4.365414340980351]