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.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001542/0.001542, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.002105/0.002105, allocations: 71.83 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2398, allocations: 53.39 MB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003764/0.2436, allocations: 1.936 MB / 433.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2448, allocations: 0.5454 MB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.245, allocations: 7.938 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.2451, allocations: 19.8 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.2453, allocations: 31.66 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2455, allocations: 59.86 kB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2458, allocations: 151.4 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.246, allocations: 50.36 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2462, allocations: 67.78 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2463, allocations: 59.69 kB / 434 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2463, allocations: 12 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.2464, allocations: 16 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.2464, allocations: 27.92 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.2465, allocations: 71.72 kB / 434.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2468, allocations: 175.7 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2468, allocations: 4 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2468, allocations: 0 / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.2468, allocations: 0 / 434.3 MB, free: 3.258 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.00066/0.2475, allocations: 369.7 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2475, allocations: 11.98 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.2476, allocations: 46.73 kB / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.2477, allocations: 28.83 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.248, allocations: 158.2 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.248, allocations: 12.38 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.2481, allocations: 16.38 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.2484, allocations: 145.9 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2484, allocations: 7.938 kB / 435.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.2484, allocations: 11.94 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2484, allocations: 4 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2486, allocations: 83.95 kB / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.2494, allocations: 447.3 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.2496, allocations: 74.53 kB / 435.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.2497, allocations: 36.83 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2497, allocations: 0 / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2497, allocations: 30.56 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.2497, allocations: 192 / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001009/0.2507, allocations: 467.5 kB / 436.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.2508, allocations: 59.34 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2509, allocations: 137 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.251, allocations: 25.7 kB / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2511, allocations: 140.1 kB / 436.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.2511, allocations: 39.69 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.2512, allocations: 29.72 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2513, allocations: 323 kB / 437 MB, free: 384 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.2514, allocations: 35.94 kB / 437 MB, free: 348 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.2516, allocations: 101.5 kB / 437.1 MB, free: 224 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.2518, allocations: 130.7 kB / 437.2 MB, free: 68 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2518, allocations: 0 / 437.2 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003085/0.2521, allocations: 153.4 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2521, allocations: 10.5 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2521, allocations: 0 / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2521, allocations: 4 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2523, allocations: 35.92 kB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2523, allocations: 7.938 kB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.2524, allocations: 11.98 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2524, allocations: 4 kB / 437.5 MB, free: 15.84 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.0001342/0.2525, allocations: 130 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2526, allocations: 7.953 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.2526, allocations: 12.72 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2526, allocations: 3.938 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2526, allocations: 3.938 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2526, allocations: 3.984 kB / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.2532, allocations: 407.1 kB / 438 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2533, allocations: 4 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.2534, allocations: 23.98 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2534, allocations: 4.25 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2534, allocations: 3.938 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2534, allocations: 7.938 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2534, allocations: 0 / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.2538, allocations: 253 kB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.2538, allocations: 11.97 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2539, allocations: 4 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.254, allocations: 4 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.254, allocations: 7.984 kB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.254, allocations: 8.062 kB / 438.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.874e-05/0.2541, allocations: 99.27 kB / 438.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2541, allocations: 0 / 438.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2544, allocations: 28 kB / 438.5 MB, free: 14.75 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.0007551/0.2551, allocations: 0.7881 MB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.2554, allocations: 92.27 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2554, allocations: 0 / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.2555, allocations: 39.92 kB / 439.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.2558, allocations: 8 kB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.2583, allocations: 1.867 MB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2584, allocations: 101.6 kB / 441.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.2585, allocations: 17.28 kB / 441.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.2585, allocations: 39.42 kB / 441.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2585, allocations: 0 / 441.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.291, allocations: 2.943 MB / 444.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.64, allocations: 8.047 kB / 444.4 MB, free: 8.766 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.132696038112044]