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.001393/0.001393, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001389/0.001389, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.399/1.399, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.00151/0.00151, allocations: 47.94 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2373, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003304/0.2406, allocations: 1.928 MB / 433 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2417, allocations: 0.5493 MB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2418, allocations: 7.938 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.2419, allocations: 19.78 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.806e-05/0.242, allocations: 31.66 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.2423, allocations: 47.94 kB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.2426, allocations: 147.4 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2427, allocations: 57.7 kB / 433.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.2429, allocations: 75.72 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.243, allocations: 71.69 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.243, allocations: 12 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.2431, allocations: 16 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.2431, allocations: 31.92 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.2432, allocations: 63.72 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.2434, allocations: 176.9 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2434, allocations: 3.938 kB / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2434, allocations: 0 / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2435, allocations: 0 / 434.3 MB, free: 3.383 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.0006482/0.2441, allocations: 373.7 kB / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2441, allocations: 8.031 kB / 434.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/0.2442, allocations: 46.73 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.2444, allocations: 24.84 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.2447, allocations: 150.3 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2447, allocations: 8.375 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.2447, allocations: 24.34 kB / 434.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.245, allocations: 150.5 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.2451, allocations: 3.953 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2451, allocations: 8 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2451, allocations: 4 kB / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.2453, allocations: 95.88 kB / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.246, allocations: 439.4 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2462, allocations: 74.44 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.2463, allocations: 36.84 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2463, allocations: 0 / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2463, allocations: 34.55 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.2463, allocations: 4 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009383/0.2472, allocations: 454.8 kB / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2473, allocations: 59.34 kB / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2474, allocations: 140.3 kB / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2475, allocations: 25.7 kB / 436.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2476, allocations: 140.1 kB / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.2476, allocations: 39.69 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.2476, allocations: 33.7 kB / 436.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2478, allocations: 318.8 kB / 436.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2479, allocations: 39.92 kB / 437 MB, free: 480 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.248, allocations: 85.44 kB / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.2482, allocations: 131.8 kB / 437.2 MB, free: 216 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2482, allocations: 0 / 437.2 MB, free: 216 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002762/0.2485, allocations: 157.3 kB / 437.3 MB, free: 52 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2485, allocations: 8.188 kB / 437.3 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2485, allocations: 4 kB / 437.3 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2485, allocations: 4 kB / 437.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.2488, allocations: 43.97 kB / 437.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2488, allocations: 7.938 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.2489, allocations: 4 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2489, allocations: 7.938 kB / 437.4 MB, free: 15.97 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 9.981e-05/0.249, allocations: 125.8 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.249, allocations: 7.953 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.2491, allocations: 20.7 kB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2491, allocations: 7.938 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2491, allocations: 0 / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2491, allocations: 0 / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.2496, allocations: 407.1 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2496, allocations: 48 / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.2498, allocations: 35.91 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2498, allocations: 0 / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2498, allocations: 8 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2498, allocations: 0 / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2498, allocations: 4.062 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.2501, allocations: 257 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.2501, allocations: 7.953 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2502, allocations: 4 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.2503, allocations: 4 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.2503, allocations: 7.984 kB / 438.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2503, allocations: 4 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.952e-05/0.2504, allocations: 103.2 kB / 438.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2504, allocations: 192 / 438.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.2506, allocations: 32.06 kB / 438.4 MB, free: 14.87 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.0006269/0.2512, allocations: 0.7883 MB / 439.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.2515, allocations: 91.77 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2515, allocations: 0 / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.2515, allocations: 40.36 kB / 439.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2518, allocations: 20.09 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.254, allocations: 1.87 MB / 441.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2541, allocations: 101.6 kB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.2542, allocations: 8.969 kB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.2543, allocations: 47.42 kB / 441.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2543, allocations: 0 / 441.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.2856, allocations: 2.979 MB / 444.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.63, allocations: 8.297 kB / 444.4 MB, free: 8.867 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: 12.88635271700332]