Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8622/0.8622, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.262e-05, allocations: 6.219 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00283/0.002853, allocations: 1.897 MB / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.003589, allocations: 490.6 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.0037, allocations: 4 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.003821, allocations: 35.66 kB / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.003905, allocations: 35.64 kB / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.004258, allocations: 35.94 kB / 320.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.004432, allocations: 155.4 kB / 321.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.004578, allocations: 53.75 kB / 321.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.004715, allocations: 95.73 kB / 321.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004818, allocations: 51.86 kB / 321.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.004847, allocations: 12 kB / 321.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.004864, allocations: 16 kB / 321.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.004892, allocations: 35.84 kB / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.004936, allocations: 43.91 kB / 321.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.005132, allocations: 175.4 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.005136, allocations: 7.938 kB / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.005137, allocations: 0 / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005143, allocations: 0 / 321.5 MB, free: 3.223 MB / 282.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.0004798/0.005622, allocations: 365 kB / 321.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.005665, allocations: 8.922 kB / 321.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.005707, allocations: 54.73 kB / 322 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.005752, allocations: 20.84 kB / 322 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.005977, allocations: 137.5 kB / 322.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.005993, allocations: 16.38 kB / 322.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.006024, allocations: 24.3 kB / 322.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.006255, allocations: 142.5 kB / 322.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.006267, allocations: 4.188 kB / 322.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.006281, allocations: 8.125 kB / 322.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006288, allocations: 4 kB / 322.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.006421, allocations: 88.56 kB / 322.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.00701, allocations: 443.3 kB / 322.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.007135, allocations: 70.56 kB / 322.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.007181, allocations: 32.97 kB / 322.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.007201, allocations: 8 kB / 322.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.007222, allocations: 34.55 kB / 323 MB, free: 1.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.007223, allocations: 0 / 323 MB, free: 1.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000722/0.007945, allocations: 454.7 kB / 323.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.007981, allocations: 51.41 kB / 323.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.008078, allocations: 137.2 kB / 323.6 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.00809, allocations: 29.7 kB / 323.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.008151, allocations: 144.2 kB / 323.8 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.008174, allocations: 39.62 kB / 323.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.008215, allocations: 37.67 kB / 323.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.008293, allocations: 326.8 kB / 324.2 MB, free: 380 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.008346, allocations: 31.92 kB / 324.2 MB, free: 348 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.008417, allocations: 86.84 kB / 324.3 MB, free: 236 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.008808, allocations: 130.7 kB / 324.4 MB, free: 80 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008809, allocations: 1.031 kB / 324.4 MB, free: 80 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00018/0.008989, allocations: 153.4 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.009004, allocations: 8 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.00901, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.009027, allocations: 8.188 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.009137, allocations: 36.02 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.009144, allocations: 7.938 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.009184, allocations: 11.92 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.009193, allocations: 8 kB / 324.6 MB, free: 15.84 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 7.667e-05/0.00927, allocations: 125.8 kB / 324.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.009288, allocations: 7.953 kB / 324.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.009317, allocations: 16.44 kB / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.009318, allocations: 0 / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.009323, allocations: 0 / 324.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009326, allocations: 4 kB / 324.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.009698, allocations: 407.1 kB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.0097, allocations: 7.938 kB / 325.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.739e-05/0.009778, allocations: 23.98 kB / 325.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.009781, allocations: 3.938 kB / 325.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.009791, allocations: 4.047 kB / 325.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.009793, allocations: 4 kB / 325.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.009796, allocations: 7.984 kB / 325.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.01001, allocations: 249.1 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.01003, allocations: 11.97 kB / 325.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01004, allocations: 7.938 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.01008, allocations: 0 / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.01012, allocations: 11.98 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.01012, allocations: 4 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.01017, allocations: 95.27 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01017, allocations: 0 / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01035, allocations: 28 kB / 325.6 MB, free: 14.76 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.000424/0.01078, allocations: 0.7843 MB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01094, allocations: 87.83 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01094, allocations: 0 / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.01099, allocations: 40.14 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01124, allocations: 15.53 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.01266, allocations: 1.787 MB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.01273, allocations: 105.5 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.01278, allocations: 16.91 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.01284, allocations: 40.48 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01284, allocations: 0 / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.03269, allocations: 3.059 MB / 331.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.685, allocations: 7.297 kB / 331.6 MB, free: 8.75 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.283747135661542]