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.0008607/0.0008607, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008081/0.0008081, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8682/0.8682, allocations: 177 MB / 204.1 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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 1.964e-06/1.964e-06, allocations: 0 / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.541e-05, allocations: 2.281 kB / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002775/0.002791, allocations: 1.938 MB / 326.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.003628, allocations: 0.5492 MB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.00372, allocations: 0 / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.00384, allocations: 27.72 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.003922, allocations: 35.64 kB / 327 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.004176, allocations: 55.86 kB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004373, allocations: 159.3 kB / 327.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.004524, allocations: 49.77 kB / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004702, allocations: 99.78 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.004797, allocations: 51.81 kB / 327.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.004822, allocations: 12 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.004872, allocations: 16 kB / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.004899, allocations: 35.89 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.00495, allocations: 47.91 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.005174, allocations: 179.4 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005176, allocations: 0 / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005177, allocations: 4 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.005181, allocations: 0 / 327.7 MB, free: 12.48 MB / 298.7 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.0005179/0.005699, allocations: 365.7 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.005738, allocations: 15.98 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.005784, allocations: 50.73 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.005896, allocations: 24.83 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.006104, allocations: 141.5 kB / 328.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.006124, allocations: 24.12 kB / 328.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.00616, allocations: 20.36 kB / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.006414, allocations: 138.6 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.00643, allocations: 4.141 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.006447, allocations: 8.125 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.006455, allocations: 4 kB / 328.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.006639, allocations: 87.94 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.007291, allocations: 459 kB / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.007443, allocations: 78.42 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.0075, allocations: 24.86 kB / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.007516, allocations: 4 kB / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.007539, allocations: 34.55 kB / 329.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.00754, allocations: 0 / 329.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000809/0.008349, allocations: 458.9 kB / 329.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.008384, allocations: 55.34 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.008485, allocations: 132.9 kB / 329.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.0085, allocations: 33.7 kB / 329.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.008574, allocations: 144.1 kB / 330 MB, free: 10 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.008607, allocations: 35.69 kB / 330 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.008659, allocations: 33.72 kB / 330.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.008759, allocations: 322.8 kB / 330.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.008827, allocations: 35.94 kB / 330.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.008926, allocations: 90.78 kB / 330.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.009099, allocations: 135.8 kB / 330.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009101, allocations: 4 kB / 330.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001933/0.009294, allocations: 157.5 kB / 330.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.009307, allocations: 4 kB / 330.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009312, allocations: 8 kB / 330.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009324, allocations: 4 kB / 330.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.009418, allocations: 35.92 kB / 330.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.009425, allocations: 7.969 kB / 330.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.009463, allocations: 11.94 kB / 330.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.009472, allocations: 8 kB / 330.9 MB, free: 9.055 MB / 298.7 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 6.533e-05/0.009537, allocations: 129.8 kB / 331 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.009552, allocations: 12.05 kB / 331 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.009573, allocations: 8.781 kB / 331 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009575, allocations: 4 kB / 331 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.00958, allocations: 3.984 kB / 331 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.009583, allocations: 0 / 331 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.009906, allocations: 411 kB / 331.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009908, allocations: 0 / 331.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.009977, allocations: 23.98 kB / 331.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.009981, allocations: 7.938 kB / 331.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.009988, allocations: 4.062 kB / 331.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.009988, allocations: 0 / 331.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00999, allocations: 7.938 kB / 331.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.0102, allocations: 249.1 kB / 331.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.0102, allocations: 7.984 kB / 331.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01022, allocations: 7.938 kB / 331.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.01026, allocations: 4 kB / 331.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.01029, allocations: 7.984 kB / 331.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.01029, allocations: 4 kB / 331.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.01033, allocations: 107.3 kB / 331.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 331.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000174/0.01051, allocations: 28.19 kB / 331.9 MB, free: 7.965 MB / 298.7 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.0003758/0.01088, allocations: 0.7803 MB / 332.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01102, allocations: 88.27 kB / 332.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01102, allocations: 4 kB / 332.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.01107, allocations: 39.92 kB / 332.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.01128, allocations: 18.25 kB / 332.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.01258, allocations: 1.796 MB / 334.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.205e-05/0.01264, allocations: 105.5 kB / 334.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.01268, allocations: 12.97 kB / 334.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.01273, allocations: 40.48 kB / 334.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01273, allocations: 4 kB / 334.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.02828, allocations: 3.068 MB / 337.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.789, allocations: 12 kB / 337.8 MB, free: 1.914 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/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: 8.538190213032067]