Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 100.4 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 47.92 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.0857, allocations: 46.63 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003441/0.08918, allocations: 1.964 MB / 329.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.09033, allocations: 0.5425 MB / 329.9 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.09053, allocations: 0 / 329.9 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.09067, allocations: 23.78 kB / 329.9 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.09078, allocations: 39.64 kB / 329.9 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.091, allocations: 39.95 kB / 330 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.0912, allocations: 147.4 kB / 330.1 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.09138, allocations: 69.8 kB / 330.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.0915, allocations: 59.78 kB / 330.3 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.09167, allocations: 71.69 kB / 330.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.0918, allocations: 12 kB / 330.3 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.781e-05/0.09184, allocations: 16 kB / 330.4 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.09188, allocations: 35.84 kB / 330.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.09196, allocations: 75.67 kB / 330.5 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.09216, allocations: 159.4 kB / 330.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09217, allocations: 4 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09218, allocations: 0 / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.09219, allocations: 0 / 330.6 MB, free: 1.121 MB / 270.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.0005769/0.09277, allocations: 435 kB / 331 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.09282, allocations: 12.03 kB / 331.1 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.09287, allocations: 46.73 kB / 331.1 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.09292, allocations: 20.75 kB / 331.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.09311, allocations: 212.1 kB / 331.3 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.09314, allocations: 8.375 kB / 331.3 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.09318, allocations: 16.38 kB / 331.4 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.09346, allocations: 149.2 kB / 331.5 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.09348, allocations: 7.969 kB / 331.5 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.09351, allocations: 8 kB / 331.5 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.09352, allocations: 4 kB / 331.5 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.09371, allocations: 87.95 kB / 331.6 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.09458, allocations: 0.5326 MB / 332.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.09475, allocations: 86.48 kB / 332.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.09482, allocations: 28.78 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.09485, allocations: 4 kB / 332.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.09488, allocations: 42.69 kB / 332.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.09488, allocations: 0 / 332.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009357/0.09582, allocations: 0.5905 MB / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.09587, allocations: 55.34 kB / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.09598, allocations: 129.8 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.096, allocations: 25.7 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.09616, allocations: 132 kB / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.09624, allocations: 47.39 kB / 333.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.0963, allocations: 33.62 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.0964, allocations: 322.8 kB / 333.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.09649, allocations: 31.98 kB / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.0966, allocations: 86.78 kB / 333.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.09678, allocations: 135.7 kB / 333.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.09679, allocations: 4 kB / 333.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002513/0.09705, allocations: 157.3 kB / 334 MB, free: 13.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.09708, allocations: 4 kB / 334 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.09709, allocations: 0 / 334 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.09711, allocations: 4 kB / 334 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.09727, allocations: 43.86 kB / 334.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.09728, allocations: 4 kB / 334.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.09736, allocations: 12.17 kB / 334.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.09738, allocations: 4 kB / 334.1 MB, free: 13.27 MB / 286.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.177e-05/0.09748, allocations: 129.8 kB / 334.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.09752, allocations: 7.906 kB / 334.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.09755, allocations: 12.38 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.09756, allocations: 3.938 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.09757, allocations: 0 / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.09758, allocations: 4.031 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.0981, allocations: 451.9 kB / 334.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.09812, allocations: 0 / 334.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.09831, allocations: 27.98 kB / 334.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/0.09837, allocations: 3.984 kB / 334.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.0984, allocations: 4 kB / 334.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.09841, allocations: 0 / 334.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.09841, allocations: 4.062 kB / 334.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.09873, allocations: 257 kB / 335 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.09878, allocations: 85.05 kB / 335.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.09881, allocations: 7.984 kB / 335.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.09889, allocations: 8.062 kB / 335.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.09893, allocations: 7.984 kB / 335.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.09895, allocations: 8 kB / 335.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.09901, allocations: 96.39 kB / 335.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09901, allocations: 0 / 335.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.09927, allocations: 24 kB / 335.2 MB, free: 12.04 MB / 286.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.0005396/0.09982, allocations: 0.7922 MB / 336 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1, allocations: 91.78 kB / 336.1 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1001, allocations: 4.438 kB / 336.1 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.1001, allocations: 43.91 kB / 336.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1005, allocations: 12.84 kB / 336.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1024, allocations: 1.856 MB / 338 MB, free: 9.078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1027, allocations: 0.7119 MB / 338.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.17e-05/0.1028, allocations: 12.88 kB / 338.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.1029, allocations: 35.42 kB / 338.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1029, allocations: 4 kB / 338.8 MB, free: 8.289 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.552/1.655, allocations: 2.308 MB / 341.1 MB, free: 5.926 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/12.71, allocations: 15.66 kB / 341.1 MB, free: 5.91 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,mass.v Variables in the result:accSensor1.a,accSensor1.flange.f,accSensor1.flange.s,accSensor1.v,der(accSensor1.v),der(mass.s),der(mass.v),der(multiSensor.flange_a.s),force.f,force.flange.f,force.flange.s,force.s,force.useSupport,forceSensor.f,forceSensor.flange_a.f,forceSensor.flange_a.s,forceSensor.flange_b.f,forceSensor.flange_b.s,mass.L,mass.a,mass.flange_a.f,mass.flange_a.s,mass.flange_b.f,mass.flange_b.s,mass.m,mass.s,mass.stateSelect,mass.v,multiSensor.f,multiSensor.flange_a.f,multiSensor.flange_a.s,multiSensor.flange_b.f,multiSensor.flange_b.s,multiSensor.power,multiSensor.v,positionSensor1.flange.f,positionSensor1.flange.s,positionSensor1.s,positionSensor2.flange.f,positionSensor2.flange.s,positionSensor2.s,sineForce.amplitude,sineForce.freqHz,sineForce.offset,sineForce.phase,sineForce.startTime,sineForce.y,speedSensor1.flange.f,speedSensor1.flange.s,speedSensor1.v,time