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.001421/0.001421, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001588/0.001588, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002333/0.002333, allocations: 48.02 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2768, allocations: 53.37 MB / 431.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003511/0.2803, allocations: 2.026 MB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2815, allocations: 0.5843 MB / 433.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2816, allocations: 4 kB / 433.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.2817, allocations: 23.72 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.2818, allocations: 31.7 kB / 433.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.2821, allocations: 51.89 kB / 433.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.2823, allocations: 151.4 kB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2825, allocations: 57.66 kB / 434 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.2826, allocations: 75.7 kB / 434.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.2828, allocations: 67.7 kB / 434.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.2828, allocations: 12 kB / 434.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.2828, allocations: 20 kB / 434.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.2829, allocations: 35.84 kB / 434.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.283, allocations: 75.66 kB / 434.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.2832, allocations: 163.8 kB / 434.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2832, allocations: 7.938 kB / 434.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2832, allocations: 0 / 434.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.2832, allocations: 4 kB / 434.5 MB, free: 3.617 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.0006648/0.2839, allocations: 369.7 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2839, allocations: 12.03 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.284, allocations: 46.73 kB / 434.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2841, allocations: 28.72 kB / 434.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.2844, allocations: 154.3 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2845, allocations: 12.38 kB / 435.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2845, allocations: 20.36 kB / 435.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.2848, allocations: 142.5 kB / 435.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2848, allocations: 7.953 kB / 435.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.2848, allocations: 8 kB / 435.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.2849, allocations: 4 kB / 435.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.2851, allocations: 87.94 kB / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.2859, allocations: 471.3 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.2861, allocations: 78.48 kB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.2861, allocations: 28.84 kB / 435.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2861, allocations: 4 kB / 435.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2862, allocations: 38.56 kB / 436 MB, free: 2.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2862, allocations: 0 / 436 MB, free: 2.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009771/0.2872, allocations: 451.8 kB / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2872, allocations: 63.38 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2873, allocations: 136.3 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2874, allocations: 29.7 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2875, allocations: 140.1 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.2875, allocations: 47.58 kB / 436.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.2875, allocations: 33.72 kB / 436.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2877, allocations: 318.8 kB / 437.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.2878, allocations: 35.98 kB / 437.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2879, allocations: 85.25 kB / 437.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.2881, allocations: 134.7 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2881, allocations: 0 / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002659/0.2884, allocations: 157.5 kB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2884, allocations: 8 kB / 437.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2884, allocations: 0 / 437.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2884, allocations: 4 kB / 437.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2886, allocations: 43.86 kB / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2886, allocations: 4 kB / 437.6 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.2887, allocations: 11.98 kB / 437.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2887, allocations: 8 kB / 437.7 MB, free: 176 kB / 334.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.000114/0.2888, allocations: 125.8 kB / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.2889, allocations: 11.98 kB / 437.8 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.2889, allocations: 12.72 kB / 437.8 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.2889, allocations: 7.938 kB / 437.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2889, allocations: 0 / 437.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2889, allocations: 0 / 437.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.2895, allocations: 419.1 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2895, allocations: 4.062 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.2896, allocations: 23.98 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2896, allocations: 4 kB / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2897, allocations: 0 / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2897, allocations: 3.938 kB / 438.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2897, allocations: 4 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.29, allocations: 253.1 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.29, allocations: 15.91 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2901, allocations: 0 / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.2901, allocations: 4 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2902, allocations: 7.984 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2902, allocations: 7.984 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.612e-05/0.2903, allocations: 99.2 kB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2903, allocations: 0 / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.2905, allocations: 32.06 kB / 438.7 MB, free: 15.07 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.0006692/0.2912, allocations: 0.7872 MB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.2914, allocations: 87.91 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2914, allocations: 4 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.2915, allocations: 35.92 kB / 439.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2918, allocations: 18.64 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.2941, allocations: 1.876 MB / 441.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.2945, allocations: 0.7119 MB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.221e-05/0.2946, allocations: 16.97 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.2946, allocations: 35.44 kB / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2946, allocations: 0 / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.3282, allocations: 2.612 MB / 444.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.34, allocations: 8.25 kB / 444.9 MB, free: 8.816 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.722626253962517]