Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.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.001347/0.001347, allocations: 110 kB / 20.43 MB, free: 1.453 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.001451/0.001451, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.88 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2683, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003507/0.2718, allocations: 2.018 MB / 433.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.273, allocations: 0.5882 MB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2731, allocations: 3.938 kB / 433.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2732, allocations: 23.78 kB / 433.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.2733, allocations: 35.64 kB / 433.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2736, allocations: 47.94 kB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.2738, allocations: 151.4 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.274, allocations: 53.67 kB / 434.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.2742, allocations: 75.77 kB / 434.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2744, allocations: 67.7 kB / 434.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2744, allocations: 12 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.2744, allocations: 16 kB / 434.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.2745, allocations: 39.83 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.2746, allocations: 71.67 kB / 434.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.2748, allocations: 167.7 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2748, allocations: 0 / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2748, allocations: 0 / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.2749, allocations: 4 kB / 434.5 MB, free: 3.332 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.0006531/0.2755, allocations: 373.7 kB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2756, allocations: 8.031 kB / 434.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.2756, allocations: 54.73 kB / 435 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.2758, allocations: 28.77 kB / 435 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.276, allocations: 146.3 kB / 435.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2761, allocations: 16.38 kB / 435.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.2761, allocations: 20.31 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2764, allocations: 145.9 kB / 435.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.2764, allocations: 7.953 kB / 435.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.2764, allocations: 4 kB / 435.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2765, allocations: 4 kB / 435.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.2767, allocations: 91.88 kB / 435.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.2775, allocations: 475.3 kB / 435.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2777, allocations: 74.5 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.2778, allocations: 28.84 kB / 436 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2778, allocations: 0 / 436 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2778, allocations: 34.56 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.2778, allocations: 0 / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.00105/0.2789, allocations: 462.8 kB / 436.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.2789, allocations: 55.34 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.279, allocations: 137.3 kB / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.2791, allocations: 25.7 kB / 436.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2792, allocations: 141.2 kB / 436.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.2792, allocations: 51.58 kB / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.2793, allocations: 29.7 kB / 436.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2795, allocations: 318.8 kB / 437.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.2795, allocations: 35.97 kB / 437.2 MB, free: 396 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2797, allocations: 85.61 kB / 437.3 MB, free: 288 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2799, allocations: 134.7 kB / 437.5 MB, free: 128 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2799, allocations: 4 kB / 437.5 MB, free: 124 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002887/0.2802, allocations: 161.3 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2802, allocations: 4.188 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2802, allocations: 8 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2802, allocations: 4 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2804, allocations: 39.91 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2804, allocations: 3.938 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.2804, allocations: 8 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2805, allocations: 11.98 kB / 437.7 MB, free: 15.88 MB / 350.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.0001187/0.2806, allocations: 125.8 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.2806, allocations: 7.953 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.2806, allocations: 16.7 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2807, allocations: 7.984 kB / 437.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2807, allocations: 3.984 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2807, allocations: 0 / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.2812, allocations: 411.1 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2812, allocations: 0 / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2814, allocations: 31.92 kB / 438.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2814, allocations: 8.062 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2814, allocations: 3.984 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2814, allocations: 0 / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2814, allocations: 0 / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.2817, allocations: 249.3 kB / 438.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.2817, allocations: 16 kB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.2818, allocations: 15.92 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.2819, allocations: 0 / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2819, allocations: 7.984 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.2819, allocations: 8 kB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.282, allocations: 95.27 kB / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.282, allocations: 0 / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.2822, allocations: 28 kB / 438.7 MB, free: 14.78 MB / 350.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.0006552/0.2829, allocations: 0.7916 MB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.2831, allocations: 91.95 kB / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2831, allocations: 0 / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.2832, allocations: 39.92 kB / 439.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2835, allocations: 12 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.2858, allocations: 1.867 MB / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2862, allocations: 0.7158 MB / 442.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.2862, allocations: 12.95 kB / 442.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.2863, allocations: 47.42 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2863, allocations: 0 / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.3184, allocations: 2.609 MB / 444.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.19, allocations: 10.75 kB / 444.9 MB, free: 8.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.617799976997048]