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.001783/0.001783, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002298/0.002298, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.793 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 59.91 kB / 377.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2772, allocations: 53.42 MB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003669/0.2808, allocations: 2.031 MB / 433.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2819, allocations: 0.5531 MB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.282, allocations: 4 kB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.2822, allocations: 39.64 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.2823, allocations: 55.5 kB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.2825, allocations: 47.94 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.2828, allocations: 207 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2829, allocations: 48.83 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.283, allocations: 71.78 kB / 434.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.2831, allocations: 79.61 kB / 434.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2832, allocations: 16 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/0.2832, allocations: 19.94 kB / 434.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.2833, allocations: 39.84 kB / 434.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.2834, allocations: 79.67 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.2836, allocations: 216.8 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2836, allocations: 0 / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2836, allocations: 0 / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2837, allocations: 0 / 434.6 MB, free: 2.988 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.0006511/0.2843, allocations: 397.5 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2844, allocations: 15.97 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.2844, allocations: 50.73 kB / 435.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.2845, allocations: 24.84 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.2847, allocations: 166.1 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2848, allocations: 16.16 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.2848, allocations: 24.38 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.2851, allocations: 153.7 kB / 435.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2851, allocations: 0 / 435.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.2852, allocations: 12 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2852, allocations: 4 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.2854, allocations: 99.72 kB / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.2863, allocations: 0.5178 MB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2865, allocations: 110.6 kB / 436.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.2866, allocations: 40.84 kB / 436.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2866, allocations: 0 / 436.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2867, allocations: 34.56 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2867, allocations: 0 / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001493/0.2882, allocations: 0.6498 MB / 436.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2882, allocations: 59.41 kB / 437 MB, free: 444 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.2884, allocations: 154.8 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2884, allocations: 33.7 kB / 437.1 MB, free: 240 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.2885, allocations: 132.4 kB / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.2886, allocations: 71.36 kB / 437.3 MB, free: 32 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.2886, allocations: 41.66 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2888, allocations: 326.8 kB / 437.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2889, allocations: 47.91 kB / 437.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.289, allocations: 78.78 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2893, allocations: 127.3 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2893, allocations: 0 / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004215/0.2897, allocations: 214.1 kB / 438.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2897, allocations: 4 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2897, allocations: 4 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.2899, allocations: 40.83 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.29, allocations: 31.92 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.2915, allocations: 1.428 MB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.2916, allocations: 8.031 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2916, allocations: 4 kB / 439.7 MB, free: 13.53 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.0001295/0.2917, allocations: 133.8 kB / 439.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.2917, allocations: 15.91 kB / 439.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.2918, allocations: 21.12 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2918, allocations: 0 / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2918, allocations: 7.938 kB / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2918, allocations: 0 / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.2926, allocations: 0.5363 MB / 440.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2926, allocations: 0 / 440.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2928, allocations: 23.98 kB / 440.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.2929, allocations: 36.83 kB / 440.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2929, allocations: 4 kB / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2941, allocations: 1.37 MB / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2942, allocations: 8.016 kB / 441.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.2947, allocations: 339 kB / 442.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2947, allocations: 15.92 kB / 442.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2947, allocations: 8 kB / 442.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.2948, allocations: 0 / 442.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.2949, allocations: 15.97 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.2949, allocations: 4 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.295, allocations: 127.3 kB / 442.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.295, allocations: 0 / 442.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.2953, allocations: 47.94 kB / 442.4 MB, free: 10.62 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.0008651/0.2961, allocations: 0.8681 MB / 443.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.2966, allocations: 254.6 kB / 443.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2966, allocations: 0 / 443.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.2969, allocations: 186.6 kB / 443.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2972, allocations: 26.56 kB / 443.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.3, allocations: 2.142 MB / 445.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.3002, allocations: 128.2 kB / 446 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.3002, allocations: 13.48 kB / 446 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.3003, allocations: 47.42 kB / 446 MB, free: 6.805 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3003, allocations: 4 kB / 446 MB, free: 6.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.3363, allocations: 4.366 MB / 450.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.84, allocations: 10.66 kB / 450.4 MB, free: 2.543 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_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: 14.43806029530242]