Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.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.00129/0.00129, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001329/0.001329, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.446/1.446, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2884, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.0036/0.292, allocations: 1.997 MB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.293, allocations: 0.5104 MB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2931, allocations: 4 kB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.2932, allocations: 27.72 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.781e-05/0.2933, allocations: 31.72 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.2935, allocations: 43.94 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.2937, allocations: 147.4 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2939, allocations: 49.72 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.294, allocations: 67.72 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2942, allocations: 67.7 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.2942, allocations: 12 kB / 425.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.633e-05/0.2942, allocations: 16 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.2943, allocations: 31.91 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.2944, allocations: 71.66 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2946, allocations: 167.7 kB / 425.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2946, allocations: 4 kB / 425.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2946, allocations: 0 / 425.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.2946, allocations: 0 / 425.9 MB, free: 11.36 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006309/0.2952, allocations: 373.7 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2953, allocations: 11.97 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.2954, allocations: 54.67 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.2954, allocations: 16.84 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2957, allocations: 142.4 kB / 426.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2957, allocations: 12.38 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.2957, allocations: 20.33 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.296, allocations: 145.5 kB / 426.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.296, allocations: 0 / 426.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.2961, allocations: 8 kB / 426.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2961, allocations: 4 kB / 426.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.2963, allocations: 88.56 kB / 426.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.2971, allocations: 486.9 kB / 427.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2973, allocations: 74.48 kB / 427.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.441e-05/0.2974, allocations: 32.84 kB / 427.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2974, allocations: 0 / 427.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.2974, allocations: 34.56 kB / 427.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.2974, allocations: 0 / 427.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001035/0.2985, allocations: 455.7 kB / 427.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2985, allocations: 59.34 kB / 427.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2986, allocations: 133.8 kB / 428 MB, free: 9.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2987, allocations: 25.7 kB / 428 MB, free: 9.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.2987, allocations: 132.2 kB / 428.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.2988, allocations: 47.81 kB / 428.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.2988, allocations: 37.7 kB / 428.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.299, allocations: 322.8 kB / 428.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.2991, allocations: 31.98 kB / 428.5 MB, free: 8.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2992, allocations: 93.89 kB / 428.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.2994, allocations: 130.7 kB / 428.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2994, allocations: 0 / 428.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002673/0.2997, allocations: 149.6 kB / 428.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2997, allocations: 15.98 kB / 428.9 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2997, allocations: 0 / 428.9 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2997, allocations: 4 kB / 428.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2999, allocations: 43.86 kB / 429 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.2999, allocations: 7.984 kB / 429 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.3, allocations: 4 kB / 429 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3, allocations: 8 kB / 429 MB, free: 7.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3001, allocations: 129.7 kB / 429.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.3001, allocations: 15.94 kB / 429.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.3002, allocations: 16.38 kB / 429.1 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.3002, allocations: 3.938 kB / 429.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3002, allocations: 3.938 kB / 429.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3002, allocations: 0 / 429.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.3008, allocations: 411.1 kB / 429.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3008, allocations: 4.188 kB / 429.6 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3009, allocations: 28.05 kB / 429.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3009, allocations: 11.88 kB / 429.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3009, allocations: 0 / 429.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3009, allocations: 4 kB / 429.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3009, allocations: 0 / 429.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3013, allocations: 253.2 kB / 429.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.3013, allocations: 11.98 kB / 429.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3013, allocations: 0 / 429.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.3014, allocations: 4 kB / 429.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3015, allocations: 11.92 kB / 429.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3015, allocations: 7.938 kB / 429.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.3015, allocations: 98.78 kB / 430 MB, free: 6.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3015, allocations: 0 / 430 MB, free: 6.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3018, allocations: 28 kB / 430 MB, free: 6.824 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007241/0.3026, allocations: 0.7873 MB / 430.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3028, allocations: 91.89 kB / 430.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3028, allocations: 0 / 430.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.3029, allocations: 35.92 kB / 430.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3032, allocations: 15.28 kB / 430.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3057, allocations: 1.867 MB / 432.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.3061, allocations: 0.7119 MB / 433.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.974e-05/0.3061, allocations: 12.97 kB / 433.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.3062, allocations: 43.42 kB / 433.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3062, allocations: 3.938 kB / 433.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.3372, allocations: 2.574 MB / 436.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.35, allocations: 5.047 kB / 436.2 MB, free: 0.6172 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.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.823329118997208]