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.0008291/0.0008291, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 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.0008576/0.0008576, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8624/0.8624, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.422e-06/1.422e-06, allocations: 0 / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.299e-05, allocations: 3.125 kB / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00201/0.002023, allocations: 1.93 MB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.002765, allocations: 0.5492 MB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.002847, allocations: 11.88 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.002947, allocations: 19.78 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.003011, allocations: 39.66 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.003238, allocations: 59.78 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003389, allocations: 147.4 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.003527, allocations: 53.77 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.003681, allocations: 95.78 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.003762, allocations: 47.88 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003783, allocations: 12 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.00383, allocations: 19.98 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.003854, allocations: 43.83 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.003893, allocations: 43.92 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.004253, allocations: 183.3 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004255, allocations: 0 / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004256, allocations: 0 / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00426, allocations: 3.938 kB / 327.7 MB, free: 12.67 MB / 298.7 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.000432/0.004692, allocations: 361.8 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.004729, allocations: 15.98 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.004766, allocations: 50.73 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.00486, allocations: 20.84 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.005041, allocations: 153.5 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005055, allocations: 12.12 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.005084, allocations: 20.36 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.00529, allocations: 138.6 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.005305, allocations: 8.078 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.005322, allocations: 12.12 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.00533, allocations: 4 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.005464, allocations: 91.94 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.006021, allocations: 447.1 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.006144, allocations: 70.5 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.006184, allocations: 28.84 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.006198, allocations: 7.938 kB / 329.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.006215, allocations: 38.53 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.006217, allocations: 0 / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005929/0.00681, allocations: 462.8 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.006838, allocations: 51.41 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.006923, allocations: 136.7 kB / 329.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.006933, allocations: 29.7 kB / 329.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.00699, allocations: 140.1 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.00701, allocations: 39.69 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.007045, allocations: 30.75 kB / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.007119, allocations: 326.8 kB / 330.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.007171, allocations: 39.94 kB / 330.4 MB, free: 9.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.007236, allocations: 82.84 kB / 330.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.007353, allocations: 138.7 kB / 330.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007355, allocations: 4 kB / 330.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001515/0.007506, allocations: 157.4 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.007518, allocations: 8 kB / 330.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007522, allocations: 0 / 330.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.007534, allocations: 4 kB / 330.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.007626, allocations: 39.92 kB / 330.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007632, allocations: 4 kB / 330.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.007669, allocations: 16.11 kB / 330.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.007676, allocations: 4 kB / 330.9 MB, free: 9.25 MB / 298.7 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.628e-05/0.007743, allocations: 129.8 kB / 331 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.007758, allocations: 7.953 kB / 331 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.007781, allocations: 12.78 kB / 331 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.007782, allocations: 4 kB / 331 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.007785, allocations: 0 / 331 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007789, allocations: 3.984 kB / 331 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.008125, allocations: 411 kB / 331.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008127, allocations: 0 / 331.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.008194, allocations: 23.98 kB / 331.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.008197, allocations: 11.88 kB / 331.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.008205, allocations: 4 kB / 331.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.008208, allocations: 4 kB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008208, allocations: 0 / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.008412, allocations: 245.1 kB / 331.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.00842, allocations: 7.984 kB / 331.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.008434, allocations: 16.25 kB / 331.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.008473, allocations: 0 / 331.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.008501, allocations: 19.86 kB / 331.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.008504, allocations: 4 kB / 331.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.817e-05/0.008543, allocations: 95.27 kB / 331.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008543, allocations: 0 / 331.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008706, allocations: 28 kB / 331.9 MB, free: 8.16 MB / 298.7 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.0003513/0.009057, allocations: 0.7843 MB / 332.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.009196, allocations: 83.83 kB / 332.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.009198, allocations: 4 kB / 332.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.009241, allocations: 35.92 kB / 332.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.009442, allocations: 15.98 kB / 332.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.01068, allocations: 1.806 MB / 334.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.169e-05/0.01074, allocations: 105.5 kB / 334.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.01078, allocations: 16.95 kB / 334.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.01083, allocations: 40.48 kB / 334.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01083, allocations: 0 / 334.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02573, allocations: 3.07 MB / 337.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.901, allocations: 10.5 kB / 337.8 MB, free: 2.105 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/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: 8.46725660841912]