Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2418, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003218/0.245, allocations: 1.932 MB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.246, allocations: 0.5415 MB / 434.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2461, allocations: 4 kB / 434.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2462, allocations: 23.73 kB / 434.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.152e-05/0.2463, allocations: 35.7 kB / 434.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.2466, allocations: 51.86 kB / 434.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2468, allocations: 151.4 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.247, allocations: 59.81 kB / 434.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.2471, allocations: 63.8 kB / 434.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2473, allocations: 75.67 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.2473, allocations: 16 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.2474, allocations: 20 kB / 434.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.2474, allocations: 31.86 kB / 434.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.2475, allocations: 59.73 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.2477, allocations: 175.3 kB / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2477, allocations: 0 / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2477, allocations: 0 / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2477, allocations: 0 / 435.1 MB, free: 3.254 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.0006209/0.2484, allocations: 369.7 kB / 435.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2484, allocations: 8.031 kB / 435.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.725e-05/0.2484, allocations: 4.188 kB / 435.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.2485, allocations: 50.67 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.2486, allocations: 32.83 kB / 435.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2489, allocations: 150.2 kB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2489, allocations: 8.375 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.249, allocations: 20.38 kB / 435.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.2493, allocations: 149.6 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2493, allocations: 11.94 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2493, allocations: 8 kB / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2493, allocations: 4 kB / 435.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.2495, allocations: 83.95 kB / 436 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.2503, allocations: 443.3 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2504, allocations: 82.47 kB / 436.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.604e-05/0.2505, allocations: 24.84 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2505, allocations: 8 kB / 436.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.2506, allocations: 34.56 kB / 436.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2506, allocations: 0 / 436.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009093/0.2515, allocations: 454.8 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2515, allocations: 59.34 kB / 437.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2516, allocations: 133.1 kB / 437.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2516, allocations: 25.7 kB / 437.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.2517, allocations: 144.1 kB / 437.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.2518, allocations: 44.61 kB / 437.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.2518, allocations: 33.72 kB / 437.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.252, allocations: 322.8 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.2521, allocations: 27.98 kB / 437.8 MB, free: 348 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.2522, allocations: 93.77 kB / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.2524, allocations: 138.6 kB / 438 MB, free: 68 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2524, allocations: 0 / 438 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000291/0.2527, allocations: 157.6 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2527, allocations: 8 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2527, allocations: 0 / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2527, allocations: 11.94 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2529, allocations: 35.92 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2529, allocations: 4 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.253, allocations: 11.98 kB / 438.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.253, allocations: 4 kB / 438.2 MB, free: 15.83 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 0.000114/0.2531, allocations: 125.8 kB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.2531, allocations: 7.953 kB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.2531, allocations: 20.66 kB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2532, allocations: 0 / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2532, allocations: 0 / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2532, allocations: 7.984 kB / 438.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.2537, allocations: 407.1 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2537, allocations: 0 / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2539, allocations: 27.98 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2539, allocations: 0 / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2539, allocations: 4 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2539, allocations: 3.938 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2539, allocations: 3.984 kB / 438.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.2542, allocations: 253.2 kB / 439.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.2542, allocations: 12.08 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2543, allocations: 8 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.2543, allocations: 7.938 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2544, allocations: 3.984 kB / 439.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2544, allocations: 11.94 kB / 439.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.917e-05/0.2545, allocations: 95.27 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2545, allocations: 0 / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.2547, allocations: 28 kB / 439.3 MB, free: 14.74 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.000614/0.2553, allocations: 0.7882 MB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.2555, allocations: 87.83 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2555, allocations: 0 / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.2556, allocations: 39.92 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2559, allocations: 15.22 kB / 440.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.258, allocations: 1.878 MB / 442.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.2581, allocations: 101.6 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.993e-05/0.2582, allocations: 8.969 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.2583, allocations: 43.42 kB / 442.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2583, allocations: 4 kB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.2837, allocations: 2.632 MB / 444.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.98, allocations: 6.719 kB / 444.9 MB, free: 9.078 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.32638996001333]