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.001446/0.001446, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001691/0.001691, allocations: 214 kB / 23.74 MB, free: 4.66 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 8.008 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 72.03 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2471, allocations: 53.4 MB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003311/0.2504, allocations: 2.017 MB / 433.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2514, allocations: 0.5882 MB / 433.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2515, allocations: 7.938 kB / 433.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.2517, allocations: 23.78 kB / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2518, allocations: 31.7 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.252, allocations: 47.89 kB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.2522, allocations: 151.4 kB / 434 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2524, allocations: 49.66 kB / 434.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.2525, allocations: 79.77 kB / 434.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.2527, allocations: 67.7 kB / 434.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.2527, allocations: 16 kB / 434.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.2527, allocations: 16 kB / 434.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.2528, allocations: 35.84 kB / 434.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.2529, allocations: 71.66 kB / 434.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.2531, allocations: 167.8 kB / 434.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2531, allocations: 0 / 434.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2531, allocations: 0 / 434.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2531, allocations: 0 / 434.5 MB, free: 3.488 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.0006107/0.2537, allocations: 385.6 kB / 434.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2538, allocations: 8.031 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.2539, allocations: 50.73 kB / 435 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.254, allocations: 28.83 kB / 435 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.2543, allocations: 146.3 kB / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2543, allocations: 8.375 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2543, allocations: 20.38 kB / 435.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.2546, allocations: 149.9 kB / 435.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2546, allocations: 7.938 kB / 435.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2546, allocations: 8 kB / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2547, allocations: 0 / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.2549, allocations: 95.88 kB / 435.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.2557, allocations: 471.3 kB / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.2559, allocations: 74.48 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.2559, allocations: 28.84 kB / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2559, allocations: 7.938 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.256, allocations: 30.56 kB / 436 MB, free: 1.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.256, allocations: 0 / 436 MB, free: 1.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009639/0.2569, allocations: 462.8 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.257, allocations: 59.34 kB / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2571, allocations: 126.1 kB / 436.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2571, allocations: 29.7 kB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.2572, allocations: 144.1 kB / 436.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.2573, allocations: 43.58 kB / 436.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.2573, allocations: 33.72 kB / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2575, allocations: 322.8 kB / 437.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.2576, allocations: 27.98 kB / 437.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2577, allocations: 97.58 kB / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.2579, allocations: 131.8 kB / 437.5 MB, free: 276 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2579, allocations: 0 / 437.5 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002822/0.2582, allocations: 161.3 kB / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2582, allocations: 10.59 kB / 437.6 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2582, allocations: 0 / 437.6 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2582, allocations: 4 kB / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2584, allocations: 40.11 kB / 437.7 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2584, allocations: 4 kB / 437.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.2585, allocations: 11.98 kB / 437.7 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2585, allocations: 4 kB / 437.7 MB, free: 36 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.0001316/0.2586, allocations: 129.8 kB / 437.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2586, allocations: 7.953 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.2587, allocations: 12.72 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2587, allocations: 3.938 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2587, allocations: 0 / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2587, allocations: 7.984 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.2593, allocations: 415.1 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2593, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2594, allocations: 27.92 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2594, allocations: 7.938 kB / 438.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2595, allocations: 8 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2595, allocations: 4.062 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2595, allocations: 3.984 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.2598, allocations: 249.2 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.2598, allocations: 11.94 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2599, allocations: 7.938 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.2599, allocations: 12.05 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.26, allocations: 7.984 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.26, allocations: 4 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.2601, allocations: 102.6 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2601, allocations: 0 / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.2603, allocations: 24 kB / 438.7 MB, free: 14.93 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.0006557/0.261, allocations: 0.7922 MB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.2612, allocations: 83.84 kB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2612, allocations: 4.438 kB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.2613, allocations: 39.91 kB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.2616, allocations: 12 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.2639, allocations: 1.871 MB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2643, allocations: 0.7158 MB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.2643, allocations: 8.969 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.2644, allocations: 35.42 kB / 442.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2644, allocations: 3.938 kB / 442.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.2977, allocations: 2.617 MB / 444.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.03, allocations: 2.812 kB / 444.9 MB, free: 8.652 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.383914715843275]