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.001494/0.001494, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001646/0.001646, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 43.94 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2203, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003222/0.2235, allocations: 2.15 MB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000967/0.2245, allocations: 0.5959 MB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2246, allocations: 4 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.2247, allocations: 35.66 kB / 434.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.2248, allocations: 47.55 kB / 434.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.225, allocations: 55.88 kB / 434.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.2252, allocations: 203.1 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.2254, allocations: 51.41 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.2255, allocations: 79.72 kB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.2256, allocations: 83.62 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.2256, allocations: 16 kB / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.2257, allocations: 20 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.2257, allocations: 39.84 kB / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.2258, allocations: 87.59 kB / 435.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2261, allocations: 220.8 kB / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2261, allocations: 0 / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2261, allocations: 0 / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2261, allocations: 0 / 435.6 MB, free: 3.176 MB / 334.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.0006088/0.2267, allocations: 401.5 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2267, allocations: 8.031 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.086e-05/0.2267, allocations: 7.969 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.2268, allocations: 50.73 kB / 436 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2268, allocations: 24.78 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.2271, allocations: 170.1 kB / 436.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2271, allocations: 20.31 kB / 436.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.2271, allocations: 16.38 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.2275, allocations: 153.5 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.2275, allocations: 7.891 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2275, allocations: 8 kB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2275, allocations: 4 kB / 436.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.2277, allocations: 103.7 kB / 436.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.2286, allocations: 0.549 MB / 437.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2288, allocations: 102.6 kB / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.2289, allocations: 40.84 kB / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2289, allocations: 0 / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2289, allocations: 38.5 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2289, allocations: 4 kB / 437.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001427/0.2304, allocations: 0.6425 MB / 437.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2304, allocations: 59.41 kB / 438 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2305, allocations: 158.2 kB / 438.1 MB, free: 428 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2306, allocations: 29.7 kB / 438.1 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.2306, allocations: 132.4 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.2307, allocations: 67.42 kB / 438.3 MB, free: 188 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.2308, allocations: 37.7 kB / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2309, allocations: 326.8 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.231, allocations: 43.98 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.2312, allocations: 85.91 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.2314, allocations: 126.6 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2314, allocations: 4 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003947/0.2318, allocations: 218.1 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2318, allocations: 6.812 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2318, allocations: 3.984 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.232, allocations: 36.78 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2321, allocations: 35.98 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.2335, allocations: 1.428 MB / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.2336, allocations: 16.08 kB / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2336, allocations: 4 kB / 440.7 MB, free: 13.67 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.0001281/0.2337, allocations: 129.8 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.2337, allocations: 15.91 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.2338, allocations: 25.06 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2338, allocations: 8.109 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2338, allocations: 7.938 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2338, allocations: 4 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.2346, allocations: 0.5441 MB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2346, allocations: 3.984 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2348, allocations: 31.92 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.2349, allocations: 28.84 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2349, allocations: 4 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.2361, allocations: 1.381 MB / 442.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2361, allocations: 4.062 kB / 442.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.2366, allocations: 340 kB / 443.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.2367, allocations: 11.94 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.2367, allocations: 8 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.2368, allocations: 0 / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.2368, allocations: 20.03 kB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2368, allocations: 4 kB / 443.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.2369, allocations: 124.1 kB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 0 / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.2372, allocations: 44 kB / 443.4 MB, free: 10.74 MB / 350.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.0008475/0.2381, allocations: 0.8755 MB / 444.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.2385, allocations: 242.5 kB / 444.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2386, allocations: 0 / 444.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.2388, allocations: 190.7 kB / 444.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2392, allocations: 34.47 kB / 444.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.2418, allocations: 2.139 MB / 446.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2421, allocations: 0.732 MB / 447.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.2422, allocations: 17.48 kB / 447.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.2423, allocations: 47.42 kB / 447.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2423, allocations: 0 / 447.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.2704, allocations: 3.966 MB / 451.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.24, allocations: 21.39 kB / 451.7 MB, free: 2.465 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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: 13.712575527024455]