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.0008648/0.0008648, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 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.0008326/0.0008326, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9085/0.9085, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.125e-05, allocations: 6.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002387/0.002408, allocations: 2.045 MB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.003182, allocations: 0.5454 MB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.003308, allocations: 11.94 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.003452, allocations: 27.72 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.003543, allocations: 55.48 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.003726, allocations: 55.86 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.003925, allocations: 210.9 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.004077, allocations: 53.77 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.004194, allocations: 111.8 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.004291, allocations: 55.88 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.004322, allocations: 23.94 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.004341, allocations: 16 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.004372, allocations: 35.89 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.004419, allocations: 59.86 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.004614, allocations: 215.3 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004617, allocations: 0 / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004618, allocations: 0 / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.004622, allocations: 0 / 328 MB, free: 12.36 MB / 298.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.0005048/0.005127, allocations: 413.2 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.005169, allocations: 15.98 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.005209, allocations: 50.73 kB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.00524, allocations: 16.84 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.005439, allocations: 161.5 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005451, allocations: 8.375 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.00548, allocations: 24.31 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.005695, allocations: 150.2 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005706, allocations: 192 / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.005722, allocations: 12.12 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005728, allocations: 8 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.00587, allocations: 103.7 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.00644, allocations: 0.5141 MB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.006604, allocations: 114.6 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.006656, allocations: 36.84 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.006671, allocations: 0 / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.00669, allocations: 42.56 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 7.92e-07/0.006691, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000976/0.007667, allocations: 0.6582 MB / 330.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.007694, allocations: 55.34 kB / 330.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.007788, allocations: 158.3 kB / 330.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.007801, allocations: 29.7 kB / 330.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.007854, allocations: 132.3 kB / 330.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.007884, allocations: 67.44 kB / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.007927, allocations: 37.7 kB / 330.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008056, allocations: 322.8 kB / 331.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.008124, allocations: 43.97 kB / 331.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.0082, allocations: 87.34 kB / 331.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.008335, allocations: 126.5 kB / 331.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008337, allocations: 4 kB / 331.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002213/0.008558, allocations: 206.2 kB / 331.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008571, allocations: 7.938 kB / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008576, allocations: 0 / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.008694, allocations: 40.83 kB / 331.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.008788, allocations: 35.92 kB / 331.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009073/0.009695, allocations: 1.421 MB / 333.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.009738, allocations: 8.188 kB / 333.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.009746, allocations: 4 kB / 333.1 MB, free: 6.91 MB / 298.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.846e-05/0.009825, allocations: 133.8 kB / 333.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.009848, allocations: 23.89 kB / 333.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.009872, allocations: 17.12 kB / 333.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.009873, allocations: 4.062 kB / 333.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.009875, allocations: 0 / 333.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.009878, allocations: 0 / 333.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.01036, allocations: 0.5403 MB / 333.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01036, allocations: 4 kB / 333.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.01044, allocations: 27.98 kB / 333.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-05/0.0105, allocations: 28.84 kB / 333.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01052, allocations: 11.98 kB / 333.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007223/0.01124, allocations: 1.358 MB / 335.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01124, allocations: 0 / 335.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01153, allocations: 350.3 kB / 335.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.01155, allocations: 19.86 kB / 335.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.01156, allocations: 3.984 kB / 335.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.01161, allocations: 12.12 kB / 335.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.01165, allocations: 15.97 kB / 335.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.01165, allocations: 4 kB / 335.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.966e-05/0.01171, allocations: 128 kB / 335.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01171, allocations: 0 / 335.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.01189, allocations: 44 kB / 335.8 MB, free: 3.992 MB / 298.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.0007161/0.01261, allocations: 0.8654 MB / 336.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.01294, allocations: 246.5 kB / 336.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.01295, allocations: 0 / 336.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.01309, allocations: 190.5 kB / 337.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01334, allocations: 34.73 kB / 337.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.01491, allocations: 2.074 MB / 339.2 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.803e-05/0.01499, allocations: 120.2 kB / 339.3 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01504, allocations: 13.48 kB / 339.3 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.0151, allocations: 48.48 kB / 339.3 MB, free: 244 kB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0151, allocations: 4 kB / 339.4 MB, free: 240 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.03452, allocations: 4.51 MB / 343.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.199, allocations: 11.92 kB / 343.9 MB, free: 11.84 MB / 314.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 8.909497026354074]