Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 43.92 kB / 370.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2361, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00373/0.2398, allocations: 2.14 MB / 424.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.241, allocations: 0.5454 MB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.2412, allocations: 4 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.2414, allocations: 35.66 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.2415, allocations: 55.48 kB / 425.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2418, allocations: 51.94 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.2421, allocations: 211 kB / 425.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2423, allocations: 53.77 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2424, allocations: 75.72 kB / 425.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.2426, allocations: 83.62 kB / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.2426, allocations: 23.94 kB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.473e-05/0.2426, allocations: 16 kB / 425.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.2427, allocations: 35.91 kB / 425.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2428, allocations: 91.53 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.2431, allocations: 215.5 kB / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2431, allocations: 0 / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2431, allocations: 0 / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.2431, allocations: 4 kB / 426.2 MB, free: 10.99 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.0007144/0.2438, allocations: 397.5 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2438, allocations: 8.031 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/0.2439, allocations: 50.73 kB / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.244, allocations: 20.8 kB / 426.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.2443, allocations: 177.6 kB / 426.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2443, allocations: 12.38 kB / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.2443, allocations: 16.38 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.2447, allocations: 157.7 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2447, allocations: 0 / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2447, allocations: 8 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2447, allocations: 4 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.2449, allocations: 107.7 kB / 427.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.2459, allocations: 0.5528 MB / 427.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.2461, allocations: 110.6 kB / 427.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.2462, allocations: 40.84 kB / 427.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2462, allocations: 3.938 kB / 427.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.2463, allocations: 38.56 kB / 427.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2463, allocations: 4 kB / 427.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001505/0.2478, allocations: 0.6547 MB / 428.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2478, allocations: 55.41 kB / 428.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.248, allocations: 154.2 kB / 428.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.248, allocations: 29.7 kB / 428.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.2481, allocations: 128.4 kB / 428.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.2481, allocations: 67.42 kB / 429 MB, free: 8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.2482, allocations: 33.72 kB / 429 MB, free: 7.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2484, allocations: 334.7 kB / 429.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.2485, allocations: 47.98 kB / 429.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2486, allocations: 75.34 kB / 429.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2488, allocations: 130.7 kB / 429.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2488, allocations: 4 kB / 429.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003961/0.2492, allocations: 210.2 kB / 429.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2492, allocations: 4 kB / 429.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2492, allocations: 3.984 kB / 429.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.2494, allocations: 36.83 kB / 429.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2496, allocations: 35.98 kB / 429.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2509, allocations: 1.428 MB / 431.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.251, allocations: 16.02 kB / 431.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2511, allocations: 4 kB / 431.3 MB, free: 5.492 MB / 334.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.0001217/0.2512, allocations: 129.8 kB / 431.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.2512, allocations: 15.91 kB / 431.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.2513, allocations: 21.12 kB / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2513, allocations: 0 / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2513, allocations: 3.938 kB / 431.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2513, allocations: 12.05 kB / 431.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008249/0.2521, allocations: 0.544 MB / 432.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2521, allocations: 0 / 432.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2522, allocations: 31.97 kB / 432.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.2524, allocations: 32.88 kB / 432.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2524, allocations: 11.94 kB / 432.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.2536, allocations: 1.382 MB / 433.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2536, allocations: 0 / 433.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.2541, allocations: 338.5 kB / 433.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.2542, allocations: 11.94 kB / 433.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2542, allocations: 8 kB / 433.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.2543, allocations: 4.125 kB / 433.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.2543, allocations: 15.97 kB / 433.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.2543, allocations: 4 kB / 433.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.2544, allocations: 120.1 kB / 434 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2544, allocations: 0 / 434 MB, free: 2.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.2547, allocations: 47.94 kB / 434.1 MB, free: 2.566 MB / 334.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.0008316/0.2556, allocations: 0.8654 MB / 434.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.2561, allocations: 246.5 kB / 435.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2561, allocations: 0 / 435.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.2563, allocations: 188.9 kB / 435.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2567, allocations: 31.98 kB / 435.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.2595, allocations: 2.142 MB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.2599, allocations: 0.732 MB / 438.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.26, allocations: 17.48 kB / 438.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.2601, allocations: 47.42 kB / 438.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2601, allocations: 0 / 438.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.2945, allocations: 3.93 MB / 442.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.25, allocations: 18.84 kB / 442.3 MB, free: 10.33 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.586099049076438]