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.001664/0.001664, allocations: 111.6 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.002375/0.002375, allocations: 212 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001706/0.001706, allocations: 59.92 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2606, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004794/0.2654, allocations: 2.145 MB / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2667, allocations: 0.5921 MB / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2669, allocations: 7.938 kB / 433.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2671, allocations: 31.66 kB / 433.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2672, allocations: 55.55 kB / 434 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2675, allocations: 51.88 kB / 434 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.2678, allocations: 207.1 kB / 434.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.268, allocations: 45.8 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.2682, allocations: 83.66 kB / 434.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2684, allocations: 83.61 kB / 434.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2684, allocations: 16 kB / 434.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.2684, allocations: 16 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.2685, allocations: 39.86 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2686, allocations: 87.59 kB / 434.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.269, allocations: 219.5 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.269, allocations: 0 / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.269, allocations: 0 / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.269, allocations: 0 / 434.8 MB, free: 3.176 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.0008697/0.2699, allocations: 401.5 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.27, allocations: 8.031 kB / 435.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.27, allocations: 50.73 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.2701, allocations: 24.84 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.2705, allocations: 173.2 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.2705, allocations: 20.09 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.2705, allocations: 12.38 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.271, allocations: 161.7 kB / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.271, allocations: 0 / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.271, allocations: 4 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.271, allocations: 4 kB / 435.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.2714, allocations: 115.7 kB / 435.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.2726, allocations: 0.5529 MB / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.273, allocations: 106.6 kB / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2731, allocations: 44.72 kB / 436.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2731, allocations: 4 kB / 436.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.2732, allocations: 30.56 kB / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.2732, allocations: 0 / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.002208/0.2754, allocations: 0.6533 MB / 437.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.2755, allocations: 55.41 kB / 437.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2757, allocations: 154.2 kB / 437.3 MB, free: 428 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.2757, allocations: 33.7 kB / 437.4 MB, free: 388 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2758, allocations: 132.4 kB / 437.5 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.2759, allocations: 59.44 kB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.276, allocations: 41.7 kB / 437.6 MB, free: 144 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.2762, allocations: 330.8 kB / 437.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2764, allocations: 43.92 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.2766, allocations: 81.03 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.277, allocations: 133.2 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.277, allocations: 0 / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006095/0.2776, allocations: 206.2 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.2776, allocations: 8 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2776, allocations: 3.984 kB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.2779, allocations: 36.91 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.2781, allocations: 35.92 kB / 438.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.28, allocations: 1.44 MB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2801, allocations: 4 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2801, allocations: 8 kB / 439.9 MB, free: 13.67 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.000164/0.2803, allocations: 125.8 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.2804, allocations: 15.91 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.2804, allocations: 25.05 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2804, allocations: 8.062 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2804, allocations: 3.938 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2804, allocations: 0 / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2816, allocations: 0.544 MB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.2816, allocations: 7.984 kB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2818, allocations: 31.92 kB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.282, allocations: 32.84 kB / 440.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.282, allocations: 4 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.2836, allocations: 1.381 MB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2836, allocations: 4.031 kB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.2844, allocations: 338.8 kB / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.2844, allocations: 12.11 kB / 442.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.2844, allocations: 11.94 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2846, allocations: 4 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2846, allocations: 15.97 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2847, allocations: 4 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.2848, allocations: 120.1 kB / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2848, allocations: 0 / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004772/0.2853, allocations: 47.94 kB / 442.6 MB, free: 10.74 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.001126/0.2864, allocations: 0.8693 MB / 443.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006908/0.2871, allocations: 257.6 kB / 443.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2871, allocations: 0 / 443.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.2874, allocations: 178.6 kB / 443.9 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.0005507/0.288, allocations: 31.83 kB / 443.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.2918, allocations: 2.154 MB / 446.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.2923, allocations: 0.732 MB / 446.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.2924, allocations: 17.48 kB / 446.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2925, allocations: 47.42 kB / 446.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2925, allocations: 0 / 446.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.3354, allocations: 3.927 MB / 450.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.83, allocations: 0 / 450.8 MB, free: 2.504 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.463635637999687]