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.001806/0.001806, allocations: 107.1 kB / 20.44 MB, free: 1.184 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.002129/0.002129, allocations: 206.1 kB / 23.73 MB, free: 4.395 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001555/0.001555, allocations: 43.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2518, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00399/0.2558, allocations: 2.036 MB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.257, allocations: 0.5493 MB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2571, allocations: 7.938 kB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2573, allocations: 35.66 kB / 433.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.2574, allocations: 51.55 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2576, allocations: 55.88 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.2579, allocations: 203.1 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.2581, allocations: 51.41 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2582, allocations: 87.64 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2583, allocations: 79.62 kB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2584, allocations: 20 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.2584, allocations: 20 kB / 434.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.2584, allocations: 31.92 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.2585, allocations: 75.66 kB / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.2588, allocations: 212.8 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2588, allocations: 0 / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2588, allocations: 0 / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2588, allocations: 4 kB / 434.6 MB, free: 3.109 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.0006855/0.2595, allocations: 405.5 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2596, allocations: 16.03 kB / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.2596, allocations: 50.67 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.2597, allocations: 20.84 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.26, allocations: 166.1 kB / 435.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.26, allocations: 16.16 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.26, allocations: 16.38 kB / 435.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.2604, allocations: 153.8 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2604, allocations: 3.984 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2604, allocations: 4 kB / 435.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2604, allocations: 8 kB / 435.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.2607, allocations: 107.7 kB / 435.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.2616, allocations: 0.5139 MB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.2618, allocations: 106.6 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2619, allocations: 40.84 kB / 436.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.262, allocations: 0 / 436.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.262, allocations: 34.56 kB / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.262, allocations: 4 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001504/0.2635, allocations: 0.6547 MB / 436.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2635, allocations: 55.34 kB / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2637, allocations: 154.2 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2637, allocations: 29.7 kB / 437.1 MB, free: 364 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2638, allocations: 140.4 kB / 437.2 MB, free: 220 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.2639, allocations: 63.38 kB / 437.3 MB, free: 156 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.2639, allocations: 37.7 kB / 437.3 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2641, allocations: 330.8 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2642, allocations: 39.98 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2644, allocations: 75.41 kB / 437.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.2646, allocations: 127.3 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2646, allocations: 0 / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003954/0.265, allocations: 214.2 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.265, allocations: 7.984 kB / 438.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.265, allocations: 4 kB / 438.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.2652, allocations: 28.84 kB / 438.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2654, allocations: 39.92 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.2668, allocations: 1.428 MB / 439.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.2669, allocations: 8 kB / 439.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2669, allocations: 7.938 kB / 439.6 MB, free: 13.66 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.0001521/0.2671, allocations: 129.8 kB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.2671, allocations: 15.91 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.2672, allocations: 21.11 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2672, allocations: 0 / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2672, allocations: 8 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2672, allocations: 0 / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008741/0.2681, allocations: 0.535 MB / 440.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2681, allocations: 4 kB / 440.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2682, allocations: 32.11 kB / 440.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.2683, allocations: 36.86 kB / 440.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2683, allocations: 8 kB / 440.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.2696, allocations: 1.369 MB / 441.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2696, allocations: 0 / 441.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.2701, allocations: 340.1 kB / 442.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.2702, allocations: 11.94 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2702, allocations: 7.938 kB / 442.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2703, allocations: 8.125 kB / 442.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.2703, allocations: 15.97 kB / 442.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2703, allocations: 4 kB / 442.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.2704, allocations: 128.1 kB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2704, allocations: 0 / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.2707, allocations: 43.94 kB / 442.3 MB, free: 10.75 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.0008575/0.2716, allocations: 0.8681 MB / 443.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000515/0.2721, allocations: 253.8 kB / 443.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2721, allocations: 0 / 443.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.2724, allocations: 190.5 kB / 443.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2728, allocations: 28.11 kB / 443.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.2756, allocations: 2.149 MB / 445.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2757, allocations: 120.2 kB / 445.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.2757, allocations: 17.48 kB / 445.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.2758, allocations: 51.42 kB / 446 MB, free: 6.914 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2758, allocations: 0 / 446 MB, free: 6.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.3131, allocations: 4.426 MB / 450.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.73, allocations: 0 / 450.4 MB, free: 2.637 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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: 14.330444984021597]