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.001344/0.001344, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001567/0.001567, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.415/1.415, allocations: 230.6 MB / 257.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 43.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2268, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003799/0.2306, allocations: 2.149 MB / 433.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2317, allocations: 0.592 MB / 433.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2318, allocations: 4 kB / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.232, allocations: 35.66 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2321, allocations: 55.48 kB / 434 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2323, allocations: 51.89 kB / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.2326, allocations: 203.1 kB / 434.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2327, allocations: 53.77 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2329, allocations: 75.72 kB / 434.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.233, allocations: 83.62 kB / 434.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2331, allocations: 16 kB / 434.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.044e-05/0.2331, allocations: 20 kB / 434.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.2331, allocations: 43.78 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.2332, allocations: 87.61 kB / 434.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.2336, allocations: 215.5 kB / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2336, allocations: 0 / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2336, allocations: 0 / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2336, allocations: 0 / 434.8 MB, free: 3.18 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.000758/0.2343, allocations: 401.5 kB / 435.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2344, allocations: 12.03 kB / 435.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.2344, allocations: 46.73 kB / 435.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.2345, allocations: 20.84 kB / 435.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.2348, allocations: 172.8 kB / 435.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2348, allocations: 24.09 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2349, allocations: 16.38 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.2352, allocations: 153.7 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2352, allocations: 0 / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.2353, allocations: 8 kB / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2353, allocations: 12 kB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.2355, allocations: 99.72 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.2365, allocations: 0.5529 MB / 436.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.2367, allocations: 114.6 kB / 436.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.2368, allocations: 36.84 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2368, allocations: 0 / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2369, allocations: 34.56 kB / 436.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2369, allocations: 0 / 436.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001516/0.2384, allocations: 0.6528 MB / 437.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2384, allocations: 55.41 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2386, allocations: 162.2 kB / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2386, allocations: 29.7 kB / 437.4 MB, free: 396 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2387, allocations: 132.4 kB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.2388, allocations: 67.44 kB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.2388, allocations: 37.7 kB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.239, allocations: 326.8 kB / 437.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2391, allocations: 47.91 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2393, allocations: 82.34 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.2395, allocations: 129.2 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2395, allocations: 0 / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004127/0.2399, allocations: 210.2 kB / 438.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2399, allocations: 7.938 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2399, allocations: 0 / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.2401, allocations: 44.89 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2403, allocations: 31.98 kB / 438.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.2418, allocations: 1.432 MB / 439.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.2419, allocations: 4.031 kB / 439.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2419, allocations: 8 kB / 439.9 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.0001424/0.242, allocations: 129.8 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.2421, allocations: 23.95 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.2421, allocations: 25.06 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2421, allocations: 0 / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2421, allocations: 3.938 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.2422, allocations: 4 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/0.243, allocations: 0.5505 MB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.243, allocations: 0 / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.2432, allocations: 27.98 kB / 440.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.2433, allocations: 36.83 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2433, allocations: 4 kB / 440.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.2446, allocations: 1.377 MB / 442.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2446, allocations: 3.984 kB / 442.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.2451, allocations: 340 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.2452, allocations: 15.97 kB / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2452, allocations: 0 / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2453, allocations: 8 kB / 442.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.2453, allocations: 11.97 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2453, allocations: 8 kB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.2455, allocations: 120.1 kB / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2455, allocations: 0 / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.2458, allocations: 43.94 kB / 442.6 MB, free: 10.76 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.0009074/0.2467, allocations: 0.8771 MB / 443.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.2472, allocations: 257.1 kB / 443.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2472, allocations: 0 / 443.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.2475, allocations: 182.6 kB / 443.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.2479, allocations: 27.89 kB / 443.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.2508, allocations: 2.14 MB / 446.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.2512, allocations: 0.7437 MB / 446.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.474e-05/0.2513, allocations: 13.48 kB / 446.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.2514, allocations: 51.42 kB / 446.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2514, allocations: 0 / 446.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.2887, allocations: 3.927 MB / 450.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.55, allocations: 4.062 kB / 450.8 MB, free: 2.508 MB / 350.1 MB " [Timeout remaining time 648] (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.964344770181924]