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.001246/0.001246, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001351/0.001351, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.351/1.351, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001691/0.001691, allocations: 43.94 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2218, allocations: 53.36 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003197/0.225, allocations: 2.028 MB / 433.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.2259, allocations: 0.5454 MB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.226, allocations: 7.938 kB / 434.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.2261, allocations: 39.66 kB / 434.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.2262, allocations: 47.55 kB / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.2264, allocations: 55.94 kB / 434.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.2266, allocations: 203.1 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2268, allocations: 55.39 kB / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.2269, allocations: 79.66 kB / 434.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.227, allocations: 87.56 kB / 435 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.2271, allocations: 20 kB / 435 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.2271, allocations: 20 kB / 435 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.2271, allocations: 31.91 kB / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.2272, allocations: 75.66 kB / 435.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.2275, allocations: 217.2 kB / 435.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2275, allocations: 0 / 435.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.2275, allocations: 4 kB / 435.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2275, allocations: 0 / 435.3 MB, free: 3.145 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.0006188/0.2281, allocations: 401.4 kB / 435.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2281, allocations: 16.03 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.48e-05/0.2281, allocations: 7.969 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.2282, allocations: 50.73 kB / 435.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2282, allocations: 20.84 kB / 435.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2285, allocations: 170.1 kB / 436 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2285, allocations: 12.38 kB / 436 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.2286, allocations: 16.38 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.2289, allocations: 157.5 kB / 436.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2289, allocations: 0 / 436.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2289, allocations: 16 kB / 436.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2289, allocations: 4 kB / 436.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.2291, allocations: 99.72 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.23, allocations: 0.5178 MB / 436.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.2302, allocations: 106.6 kB / 436.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.2303, allocations: 32.84 kB / 436.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2303, allocations: 4 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2303, allocations: 42.55 kB / 437 MB, free: 1.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2303, allocations: 0 / 437 MB, free: 1.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001421/0.2318, allocations: 0.6497 MB / 437.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2318, allocations: 55.41 kB / 437.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.232, allocations: 162.2 kB / 437.9 MB, free: 432 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.232, allocations: 33.7 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.2321, allocations: 132.4 kB / 438 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.2321, allocations: 67.42 kB / 438.1 MB, free: 188 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.2322, allocations: 37.7 kB / 438.1 MB, free: 144 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2324, allocations: 326.8 kB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2325, allocations: 43.98 kB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2326, allocations: 79.33 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.2328, allocations: 131.3 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2328, allocations: 4 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000385/0.2332, allocations: 210.1 kB / 438.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2332, allocations: 8 kB / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2332, allocations: 0 / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.2334, allocations: 36.84 kB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2335, allocations: 39.84 kB / 439 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2348, allocations: 1.428 MB / 440.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.2349, allocations: 8.031 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2349, allocations: 4 kB / 440.4 MB, free: 13.68 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.0001201/0.2351, allocations: 125.8 kB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.2351, allocations: 16.09 kB / 440.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.2351, allocations: 25.11 kB / 440.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2351, allocations: 4.062 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2351, allocations: 11.94 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2351, allocations: 0 / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007995/0.2359, allocations: 0.5284 MB / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2359, allocations: 0 / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.2361, allocations: 31.97 kB / 441.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.2362, allocations: 32.78 kB / 441.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2362, allocations: 8 kB / 441.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.2374, allocations: 1.373 MB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2374, allocations: 0 / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.2379, allocations: 341.6 kB / 442.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.2379, allocations: 7.984 kB / 442.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2379, allocations: 8 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.238, allocations: 12.05 kB / 442.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.2381, allocations: 15.98 kB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2381, allocations: 0 / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.2382, allocations: 124.1 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2382, allocations: 0 / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.2385, allocations: 48 kB / 443.1 MB, free: 10.78 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.0008006/0.2393, allocations: 0.8693 MB / 444 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.2398, allocations: 246.6 kB / 444.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2398, allocations: 3.938 kB / 444.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.24, allocations: 181.4 kB / 444.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2404, allocations: 31.83 kB / 444.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.243, allocations: 2.15 MB / 446.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2431, allocations: 124.2 kB / 446.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.181e-05/0.2431, allocations: 17.48 kB / 446.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.2432, allocations: 47.42 kB / 446.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2432, allocations: 0 / 446.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.2711, allocations: 4.062 MB / 450.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.25, allocations: 21.7 kB / 450.9 MB, free: 3.035 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.641268021077849]