Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009632/0.0009632, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008649/0.0008649, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8617/0.8617, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 324.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.924e-05, allocations: 2.281 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002098/0.002118, allocations: 1.931 MB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.002792, allocations: 0.5414 MB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.002877, allocations: 11.94 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.002982, allocations: 27.72 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.00305, allocations: 35.64 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.003276, allocations: 55.8 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.003434, allocations: 159.4 kB / 327.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.00357, allocations: 42.38 kB / 327.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.003738, allocations: 103.8 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.003818, allocations: 43.88 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003841, allocations: 20 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.003886, allocations: 16 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.003908, allocations: 35.83 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.003947, allocations: 47.91 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.00415, allocations: 183.3 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004153, allocations: 0 / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004154, allocations: 0 / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.004159, allocations: 0 / 327.8 MB, free: 12.55 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.0004486/0.004607, allocations: 369.8 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.004647, allocations: 8.031 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.004686, allocations: 58.73 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.004787, allocations: 24.83 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.00498, allocations: 145.5 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004993, allocations: 16.12 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.00502, allocations: 16.38 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.005217, allocations: 138.6 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.005231, allocations: 4.141 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.005246, allocations: 16.12 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005251, allocations: 4 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.005379, allocations: 91.88 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.005886, allocations: 439.2 kB / 329.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.006013, allocations: 90.39 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.006053, allocations: 28.84 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.006069, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.006089, allocations: 42.55 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.00609, allocations: 0 / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000656/0.006746, allocations: 454.8 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.006777, allocations: 55.41 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.006858, allocations: 130.1 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.006869, allocations: 29.7 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.006933, allocations: 144.1 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.006955, allocations: 35.69 kB / 330.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.006994, allocations: 37.7 kB / 330.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.007071, allocations: 322.8 kB / 330.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.007122, allocations: 35.92 kB / 330.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.00719, allocations: 82.86 kB / 330.5 MB, free: 9.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.007311, allocations: 139.8 kB / 330.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007312, allocations: 0 / 330.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000158/0.00747, allocations: 157.3 kB / 330.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.007485, allocations: 8 kB / 330.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.00749, allocations: 0 / 330.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.007504, allocations: 4 kB / 330.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.007605, allocations: 44.09 kB / 330.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.007613, allocations: 4 kB / 330.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.007651, allocations: 11.94 kB / 330.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.007659, allocations: 7.938 kB / 330.9 MB, free: 9.125 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 0.0003484/0.008007, allocations: 121.8 kB / 331 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.008025, allocations: 11.95 kB / 331 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.008052, allocations: 16.77 kB / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.008054, allocations: 0 / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.008059, allocations: 0 / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.008063, allocations: 0 / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.008417, allocations: 419 kB / 331.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008419, allocations: 0 / 331.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.008495, allocations: 27.92 kB / 331.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.0085, allocations: 3.938 kB / 331.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.008508, allocations: 4 kB / 331.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.00851, allocations: 4 kB / 331.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.008512, allocations: 0 / 331.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.008725, allocations: 257.2 kB / 331.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.008734, allocations: 7.891 kB / 331.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.008748, allocations: 7.938 kB / 331.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.00879, allocations: 8 kB / 331.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.008827, allocations: 3.984 kB / 331.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.008832, allocations: 4 kB / 331.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.008873, allocations: 106.1 kB / 331.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008873, allocations: 0 / 331.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.009047, allocations: 28.19 kB / 331.9 MB, free: 8.035 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.0003821/0.00943, allocations: 0.7765 MB / 332.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.009583, allocations: 95.77 kB / 332.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009585, allocations: 0 / 332.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.009631, allocations: 39.92 kB / 332.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.009872, allocations: 12.88 kB / 332.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.01118, allocations: 1.806 MB / 334.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.01125, allocations: 105.5 kB / 334.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.01129, allocations: 16.97 kB / 334.8 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.01134, allocations: 40.48 kB / 334.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01134, allocations: 0 / 334.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.02651, allocations: 3.073 MB / 337.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.477/6.503, allocations: 4 kB / 337.9 MB, free: 2.004 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/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_4.1.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: 8.070635002106428]