Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.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.001301/0.001301, allocations: 108.5 kB / 21.18 MB, free: 0.6992 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.001441/0.001441, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 51.94 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3202, allocations: 49.17 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003308/0.3236, allocations: 1.985 MB / 398.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.3245, allocations: 0.5589 MB / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3246, allocations: 3.594 kB / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3248, allocations: 25.12 kB / 398.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.3248, allocations: 31.55 kB / 398.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3251, allocations: 46.61 kB / 399 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3253, allocations: 149.1 kB / 399.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.3255, allocations: 65.77 kB / 399.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3256, allocations: 57.67 kB / 399.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3257, allocations: 70.27 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.3257, allocations: 13.88 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/0.3258, allocations: 14.75 kB / 399.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.3258, allocations: 32.31 kB / 399.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.3259, allocations: 74.69 kB / 399.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3261, allocations: 172.4 kB / 399.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3261, allocations: 1.344 kB / 399.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3261, allocations: 0 / 399.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3261, allocations: 0 / 399.6 MB, free: 6.832 MB / 318.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.0005501/0.3267, allocations: 362.6 kB / 400 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3267, allocations: 13.23 kB / 400 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.3268, allocations: 47.3 kB / 400 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3268, allocations: 21.47 kB / 400.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3271, allocations: 151.9 kB / 400.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3271, allocations: 15.25 kB / 400.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.3271, allocations: 14.81 kB / 400.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.3274, allocations: 142.5 kB / 400.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3274, allocations: 9.969 kB / 400.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3274, allocations: 5.094 kB / 400.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3274, allocations: 4.656 kB / 400.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3276, allocations: 104.8 kB / 400.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.3284, allocations: 468.4 kB / 401 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3285, allocations: 70.12 kB / 401 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.3286, allocations: 26.09 kB / 401.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3286, allocations: 5.312 kB / 401.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.3286, allocations: 35.27 kB / 401.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3286, allocations: 1.344 kB / 401.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.000864/0.3295, allocations: 459.9 kB / 401.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.3295, allocations: 57.45 kB / 401.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.3296, allocations: 127.8 kB / 401.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.3296, allocations: 25.7 kB / 401.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3297, allocations: 144 kB / 401.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.3297, allocations: 48.42 kB / 401.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3298, allocations: 34.81 kB / 402 MB, free: 4.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.3298, allocations: 320.1 kB / 402.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.3299, allocations: 38.12 kB / 402.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.33, allocations: 86.2 kB / 402.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3302, allocations: 132.4 kB / 402.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3302, allocations: 1.312 kB / 402.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002461/0.3304, allocations: 158.5 kB / 402.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3304, allocations: 6.688 kB / 402.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3304, allocations: 2.156 kB / 402.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3305, allocations: 3.469 kB / 402.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3306, allocations: 40.8 kB / 402.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.3306, allocations: 8.078 kB / 402.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.3307, allocations: 4.219 kB / 402.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3307, allocations: 6.281 kB / 402.8 MB, free: 4.359 MB / 318.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 7.221e-05/0.3308, allocations: 129.5 kB / 402.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.3308, allocations: 8.453 kB / 402.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3309, allocations: 11.81 kB / 402.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3309, allocations: 9.266 kB / 402.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3309, allocations: 1.188 kB / 402.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3309, allocations: 0.6094 kB / 402.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.3314, allocations: 417.9 kB / 403.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3314, allocations: 0.9688 kB / 403.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3315, allocations: 31.98 kB / 403.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3315, allocations: 1.25 kB / 403.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3315, allocations: 2.094 kB / 403.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3315, allocations: 1.5 kB / 403.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3315, allocations: 2.125 kB / 403.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.3318, allocations: 259.1 kB / 403.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.3318, allocations: 8.266 kB / 403.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3319, allocations: 9.859 kB / 403.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.332, allocations: 3.203 kB / 403.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.332, allocations: 7.469 kB / 403.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.332, allocations: 7.406 kB / 403.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.3321, allocations: 99.61 kB / 403.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3321, allocations: 4.062 kB / 403.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3323, allocations: 26.12 kB / 403.8 MB, free: 3.547 MB / 318.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.0004935/0.3328, allocations: 0.7854 MB / 404.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3331, allocations: 85.34 kB / 404.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3331, allocations: 0 / 404.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.3332, allocations: 39.91 kB / 404.7 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3335, allocations: 15.06 kB / 404.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3354, allocations: 1.864 MB / 406.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.3356, allocations: 0.7112 MB / 407.3 MB, free: 472 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.3356, allocations: 13.39 kB / 407.3 MB, free: 464 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.3357, allocations: 41.5 kB / 407.3 MB, free: 432 kB / 318.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3357, allocations: 0 / 407.3 MB, free: 432 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3679, allocations: 2.578 MB / 409.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.27, allocations: 8.844 kB / 409.9 MB, free: 15.73 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.715347256998939]