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.001565/0.001565, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.002041/0.002041, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.377/1.377, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.89 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2312, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003428/0.2346, allocations: 2.032 MB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2358, allocations: 0.5532 MB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.236, allocations: 4 kB / 434.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.2362, allocations: 35.66 kB / 434.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2363, allocations: 51.48 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2365, allocations: 47.95 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.2368, allocations: 207 kB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.237, allocations: 56.83 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2371, allocations: 71.78 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2373, allocations: 87.61 kB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.2373, allocations: 16 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.2373, allocations: 23.94 kB / 435.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.2374, allocations: 43.78 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.2375, allocations: 67.67 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.2378, allocations: 217.2 kB / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2378, allocations: 0 / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2378, allocations: 0 / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2378, allocations: 0 / 435.4 MB, free: 2.941 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.0007052/0.2385, allocations: 405.5 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2386, allocations: 12.03 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.2386, allocations: 7.969 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.2386, allocations: 50.73 kB / 435.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.2387, allocations: 16.84 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.239, allocations: 172.6 kB / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.239, allocations: 8.375 kB / 436.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.2391, allocations: 24.38 kB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2394, allocations: 157.5 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2394, allocations: 4 kB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.2394, allocations: 8 kB / 436.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.2394, allocations: 4 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.2396, allocations: 103.7 kB / 436.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.2405, allocations: 0.5139 MB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2408, allocations: 114.6 kB / 437 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.2409, allocations: 36.84 kB / 437 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2409, allocations: 3.938 kB / 437 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2409, allocations: 38.56 kB / 437 MB, free: 1.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.2409, allocations: 0 / 437 MB, free: 1.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.00161/0.2425, allocations: 0.651 MB / 437.7 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2426, allocations: 55.41 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2427, allocations: 158.8 kB / 437.9 MB, free: 216 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2427, allocations: 33.7 kB / 437.9 MB, free: 176 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.2428, allocations: 128.4 kB / 438.1 MB, free: 44 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.2429, allocations: 67.61 kB / 438.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.243, allocations: 37.66 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2431, allocations: 326.6 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2432, allocations: 43.98 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2434, allocations: 82.72 kB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2436, allocations: 138.1 kB / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2436, allocations: 0 / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003998/0.244, allocations: 206.2 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.244, allocations: 7.938 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.244, allocations: 4 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.2442, allocations: 44.89 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2443, allocations: 27.98 kB / 439 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2457, allocations: 1.424 MB / 440.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.2458, allocations: 8.031 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2458, allocations: 7.984 kB / 440.5 MB, free: 13.48 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.00015/0.246, allocations: 133.8 kB / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.246, allocations: 15.91 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.2461, allocations: 21.12 kB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2461, allocations: 3.938 kB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2461, allocations: 4 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2461, allocations: 3.984 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.2469, allocations: 0.5309 MB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2469, allocations: 0 / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2471, allocations: 27.98 kB / 441.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.2472, allocations: 36.83 kB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2472, allocations: 7.938 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2484, allocations: 1.37 MB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2484, allocations: 0 / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.2489, allocations: 348.1 kB / 443 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.2489, allocations: 7.984 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.249, allocations: 4 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2491, allocations: 4 kB / 443 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.2491, allocations: 15.97 kB / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2491, allocations: 7.938 kB / 443 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.554e-05/0.2492, allocations: 119.2 kB / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2492, allocations: 0 / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.2495, allocations: 44 kB / 443.2 MB, free: 10.58 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.0008224/0.2503, allocations: 0.882 MB / 444 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004861/0.2508, allocations: 246.5 kB / 444.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2508, allocations: 0 / 444.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.2511, allocations: 186.8 kB / 444.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2514, allocations: 27.83 kB / 444.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2541, allocations: 2.139 MB / 446.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2542, allocations: 120.2 kB / 446.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.2543, allocations: 17.48 kB / 446.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.2544, allocations: 47.42 kB / 446.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2544, allocations: 0 / 446.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.283, allocations: 4.075 MB / 450.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.46, allocations: 0 / 450.9 MB, free: 2.812 MB / 350.1 MB " [Timeout remaining time 648] (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/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_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: 13.907429035985842]