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.001776/0.001776, allocations: 113 kB / 18.49 MB, free: 4.539 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.00173/0.00173, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.425/1.425, allocations: 230.6 MB / 254.8 MB, free: 15.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1012, allocations: 53.33 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003278/0.1044, allocations: 2.01 MB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1055, allocations: 0.5648 MB / 429.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1056, allocations: 7.938 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1057, allocations: 19.8 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.1058, allocations: 35.64 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.106, allocations: 55.92 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1062, allocations: 147.4 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1064, allocations: 53.52 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1065, allocations: 71.73 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1067, allocations: 75.67 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1067, allocations: 12 kB / 430.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.1068, allocations: 24 kB / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.1068, allocations: 27.92 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.1069, allocations: 71.61 kB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1072, allocations: 171.3 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1072, allocations: 7.938 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1072, allocations: 0 / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1072, allocations: 0 / 430.3 MB, free: 1.406 MB / 350.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.0006807/0.1079, allocations: 442.8 kB / 430.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1079, allocations: 16.02 kB / 430.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/0.1079, allocations: 4.188 kB / 430.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.108, allocations: 50.73 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1081, allocations: 20.84 kB / 430.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1084, allocations: 212.1 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1084, allocations: 12.38 kB / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1085, allocations: 20.38 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1088, allocations: 141.3 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1088, allocations: 7.953 kB / 431.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1088, allocations: 4 kB / 431.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1088, allocations: 4 kB / 431.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.109, allocations: 91.88 kB / 431.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1782/0.2872, allocations: 0.5166 MB / 431.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2874, allocations: 79.95 kB / 431.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.2875, allocations: 24.48 kB / 432 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2875, allocations: 3.047 kB / 432 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2875, allocations: 36 kB / 432 MB, free: 10.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.2875, allocations: 0 / 432 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009273/0.2884, allocations: 0.6045 MB / 432.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.2885, allocations: 52.97 kB / 432.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.2886, allocations: 137.5 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.2886, allocations: 26.98 kB / 432.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.2886, allocations: 137.8 kB / 433 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2886, allocations: 43.11 kB / 433 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.2887, allocations: 33.06 kB / 433 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.2887, allocations: 323.4 kB / 433.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.2888, allocations: 30.53 kB / 433.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.2889, allocations: 86.89 kB / 433.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.2891, allocations: 131.3 kB / 433.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2891, allocations: 0.8125 kB / 433.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002454/0.2893, allocations: 163.3 kB / 433.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2893, allocations: 5.906 kB / 433.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2894, allocations: 2.906 kB / 433.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2894, allocations: 2.875 kB / 433.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2895, allocations: 42.94 kB / 433.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2895, allocations: 6.219 kB / 433.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.2896, allocations: 6.859 kB / 433.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2896, allocations: 7.844 kB / 433.8 MB, free: 9.551 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 6.751e-05/0.2897, allocations: 127.3 kB / 434 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.2897, allocations: 11.7 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2898, allocations: 18.27 kB / 434 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2898, allocations: 2.219 kB / 434 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2898, allocations: 3.938 kB / 434 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2898, allocations: 0 / 434 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.2902, allocations: 444.3 kB / 434.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2902, allocations: 4.562 kB / 434.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2903, allocations: 27.36 kB / 434.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2903, allocations: 0.6562 kB / 434.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2904, allocations: 6.359 kB / 434.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2904, allocations: 0 / 434.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2904, allocations: 7.188 kB / 434.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.2906, allocations: 248.6 kB / 434.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.2906, allocations: 87.97 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2906, allocations: 5.75 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.2907, allocations: 8.094 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2908, allocations: 5.25 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.2908, allocations: 12.06 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.2908, allocations: 100.1 kB / 434.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 434.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.2911, allocations: 24.16 kB / 434.9 MB, free: 8.781 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.0003872/0.2915, allocations: 0.7937 MB / 435.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2917, allocations: 87.78 kB / 435.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2917, allocations: 0 / 435.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.2918, allocations: 35.56 kB / 435.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.2921, allocations: 20.39 kB / 435.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2937, allocations: 1.874 MB / 437.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2938, allocations: 0.7146 MB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.2939, allocations: 9.609 kB / 438.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.2939, allocations: 41.61 kB / 438.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2939, allocations: 0 / 438.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.3158, allocations: 2.466 MB / 441 MB, free: 5.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.136, allocations: 2.812 kB / 441 MB, free: 5.469 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.506914190016687]