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.00176/0.00176, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002338/0.002338, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.578/1.578, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001659/0.001659, allocations: 43.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1059, allocations: 53.33 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003811/0.1097, allocations: 2.149 MB / 428.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1108, allocations: 0.5726 MB / 429 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.111, allocations: 7.938 kB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1111, allocations: 35.7 kB / 429.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1113, allocations: 55.5 kB / 429.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1115, allocations: 47.94 kB / 429.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.1118, allocations: 215 kB / 429.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.112, allocations: 41.67 kB / 429.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1121, allocations: 83.7 kB / 429.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1122, allocations: 79.62 kB / 429.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1123, allocations: 16 kB / 429.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.1123, allocations: 16 kB / 429.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.1123, allocations: 39.84 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1124, allocations: 91.55 kB / 429.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1127, allocations: 215.1 kB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1127, allocations: 0 / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1127, allocations: 0 / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1127, allocations: 4 kB / 429.9 MB, free: 1.156 MB / 350.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.0007636/0.1135, allocations: 478.6 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1135, allocations: 8.031 kB / 430.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.1136, allocations: 58.67 kB / 430.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1137, allocations: 20.84 kB / 430.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.114, allocations: 226.2 kB / 430.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.114, allocations: 12.16 kB / 430.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.114, allocations: 20.38 kB / 430.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.1144, allocations: 153.7 kB / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1144, allocations: 0 / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1144, allocations: 4 kB / 430.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1144, allocations: 4 kB / 430.9 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2063/0.3207, allocations: 113.3 kB / 431 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.3217, allocations: 0.5831 MB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3219, allocations: 112.1 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.322, allocations: 37.3 kB / 431.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3221, allocations: 5.391 kB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3221, allocations: 34.53 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.3221, allocations: 0 / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001642/0.3237, allocations: 0.8037 MB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3237, allocations: 55.84 kB / 432.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3239, allocations: 159.7 kB / 432.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3239, allocations: 29.14 kB / 432.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.324, allocations: 135.6 kB / 433 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.324, allocations: 69.17 kB / 433 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.3241, allocations: 34.97 kB / 433.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.3241, allocations: 325.2 kB / 433.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3242, allocations: 49.75 kB / 433.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3243, allocations: 76.61 kB / 433.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3246, allocations: 132.3 kB / 433.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3246, allocations: 5.781 kB / 433.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000366/0.3249, allocations: 200.5 kB / 433.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.325, allocations: 8.031 kB / 433.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.325, allocations: 3.938 kB / 433.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.3251, allocations: 41.09 kB / 433.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3253, allocations: 40.28 kB / 433.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009995/0.3263, allocations: 1.527 MB / 435.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3264, allocations: 5.5 kB / 435.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3264, allocations: 5.438 kB / 435.5 MB, free: 8.301 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.0001095/0.3265, allocations: 137.2 kB / 435.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3266, allocations: 16.84 kB / 435.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.3266, allocations: 24.11 kB / 435.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3266, allocations: 2.25 kB / 435.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3266, allocations: 1.875 kB / 435.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3267, allocations: 1.922 kB / 435.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.3275, allocations: 0.5853 MB / 436.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3275, allocations: 0 / 436.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3276, allocations: 29.81 kB / 436.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.3278, allocations: 33.59 kB / 436.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3278, allocations: 5.25 kB / 436.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000906/0.3287, allocations: 1.482 MB / 437.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3287, allocations: 2.109 kB / 437.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3292, allocations: 342.1 kB / 438.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.3293, allocations: 90.91 kB / 438.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3293, allocations: 6.438 kB / 438.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.3294, allocations: 3.188 kB / 438.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3294, allocations: 15.47 kB / 438.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3294, allocations: 6.156 kB / 438.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.598e-05/0.3295, allocations: 121.8 kB / 438.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3295, allocations: 0 / 438.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000338/0.3299, allocations: 45.38 kB / 438.4 MB, free: 5.941 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.0007602/0.3306, allocations: 0.8678 MB / 439.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005709/0.3312, allocations: 257.5 kB / 439.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3312, allocations: 0 / 439.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.3314, allocations: 190.5 kB / 439.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3318, allocations: 28.31 kB / 439.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.335, allocations: 2.141 MB / 441.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3354, allocations: 0.7285 MB / 442.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.3355, allocations: 18.97 kB / 442.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3356, allocations: 48.2 kB / 442.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3356, allocations: 0 / 442.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.3722, allocations: 3.783 MB / 446.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.855/10.23, allocations: 5.906 kB / 446.5 MB, free: 1.949 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.966160115000093]