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.001218/0.001218, allocations: 106.6 kB / 17.72 MB, free: 5.324 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.001156/0.001156, allocations: 194.9 kB / 18.67 MB, free: 4.387 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.271/1.271, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001607/0.001607, allocations: 59.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08731, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003441/0.09078, allocations: 1.967 MB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.09173, allocations: 0.5422 MB / 377.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.09183, allocations: 4 kB / 377.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.09199, allocations: 31.72 kB / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.09208, allocations: 27.7 kB / 377.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.09229, allocations: 47.94 kB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.09251, allocations: 151.4 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.09269, allocations: 73.3 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.09281, allocations: 59.78 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.09294, allocations: 67.7 kB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.09298, allocations: 16 kB / 377.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.09301, allocations: 16 kB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.09306, allocations: 39.83 kB / 377.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.09315, allocations: 71.67 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.09337, allocations: 159.3 kB / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09338, allocations: 0 / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09339, allocations: 0 / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.0934, allocations: 0 / 377.9 MB, free: 1.801 MB / 318.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.000614/0.09402, allocations: 458.8 kB / 378.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.09406, allocations: 8.031 kB / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.09412, allocations: 54.73 kB / 378.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.09416, allocations: 12.84 kB / 378.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.09442, allocations: 204.2 kB / 378.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.09444, allocations: 12.38 kB / 378.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.09448, allocations: 16.31 kB / 378.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.09477, allocations: 149.4 kB / 378.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.09479, allocations: 7.953 kB / 378.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.09482, allocations: 8 kB / 378.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.09483, allocations: 4 kB / 378.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.09512, allocations: 87.94 kB / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.09594, allocations: 0.5252 MB / 379.4 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.09614, allocations: 82.48 kB / 379.5 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1537/0.2499, allocations: 28.84 kB / 379.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.25, allocations: 0 / 379.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.25, allocations: 31.12 kB / 379.6 MB, free: 13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.25, allocations: 0.7188 kB / 379.6 MB, free: 13 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009565/0.251, allocations: 0.5868 MB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.251, allocations: 56.09 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.2511, allocations: 134 kB / 380.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.2511, allocations: 26.73 kB / 380.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.2512, allocations: 140.9 kB / 380.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2512, allocations: 42.98 kB / 380.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.2512, allocations: 31.12 kB / 380.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.2513, allocations: 322.8 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.2514, allocations: 31.31 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.2515, allocations: 89.81 kB / 381 MB, free: 11.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.2516, allocations: 134.7 kB / 381.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2516, allocations: 5.188 kB / 381.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002291/0.2519, allocations: 153.3 kB / 381.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2519, allocations: 7.938 kB / 381.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2519, allocations: 3.875 kB / 381.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2519, allocations: 2.75 kB / 381.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2521, allocations: 36.98 kB / 381.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2521, allocations: 3.547 kB / 381.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.2522, allocations: 10.05 kB / 381.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2522, allocations: 6.875 kB / 381.4 MB, free: 11.76 MB / 318.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 6.289e-05/0.2523, allocations: 134.7 kB / 381.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.2523, allocations: 8.078 kB / 381.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.2523, allocations: 17.58 kB / 381.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2523, allocations: 5.094 kB / 381.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2523, allocations: 1.375 kB / 381.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2523, allocations: 0.8438 kB / 381.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.2528, allocations: 450.6 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2528, allocations: 1.375 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2529, allocations: 24.2 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2529, allocations: 5.125 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2529, allocations: 3.875 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.253, allocations: 9.25 kB / 382 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.253, allocations: 0 / 382 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2532, allocations: 250.9 kB / 382.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.2533, allocations: 84.56 kB / 382.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2533, allocations: 5.5 kB / 382.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.2534, allocations: 9.031 kB / 382.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2534, allocations: 11.53 kB / 382.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2534, allocations: 4.125 kB / 382.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.2535, allocations: 97.77 kB / 382.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2535, allocations: 0 / 382.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000255/0.2537, allocations: 32.34 kB / 382.5 MB, free: 10.96 MB / 318.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.000391/0.2541, allocations: 0.778 MB / 383.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.2544, allocations: 95.78 kB / 383.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2544, allocations: 0 / 383.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.2545, allocations: 42.27 kB / 383.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2548, allocations: 12.39 kB / 383.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.2564, allocations: 1.865 MB / 385.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2565, allocations: 0.7105 MB / 386 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.2566, allocations: 12.95 kB / 386 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.2567, allocations: 41.61 kB / 386 MB, free: 8.039 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2567, allocations: 3.938 kB / 386 MB, free: 8.035 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.2819, allocations: 2.383 MB / 388.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/7.973, allocations: 11.75 kB / 388.4 MB, free: 7.441 MB / 318.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