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.0009529/0.0009529, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.0009813/0.0009814, allocations: 190 kB / 18.07 MB, free: 5.414 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.303/1.303, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001147/0.001147, allocations: 51.94 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.0957, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002765/0.09851, allocations: 2.029 MB / 328.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.09923, allocations: 0.5347 MB / 329.3 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.09932, allocations: 4 kB / 329.3 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.952e-05/0.09943, allocations: 19.84 kB / 329.3 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.09949, allocations: 23.78 kB / 329.3 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.09965, allocations: 39.97 kB / 329.3 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.09981, allocations: 135.5 kB / 329.5 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.09994, allocations: 54.23 kB / 329.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.1, allocations: 63.72 kB / 329.6 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.1001, allocations: 63.7 kB / 329.6 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1002, allocations: 12 kB / 329.7 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.1002, allocations: 12 kB / 329.7 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.1002, allocations: 27.91 kB / 329.7 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.1003, allocations: 67.67 kB / 329.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1004, allocations: 163.4 kB / 329.9 MB, free: 1.531 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1005, allocations: 4 kB / 329.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1005, allocations: 0 / 329.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1005, allocations: 0 / 329.9 MB, free: 1.527 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.0004982/0.101, allocations: 431.1 kB / 330.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.101, allocations: 15.97 kB / 330.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.1011, allocations: 50.73 kB / 330.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.1011, allocations: 16.75 kB / 330.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.1013, allocations: 208 kB / 330.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1013, allocations: 12.38 kB / 330.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1013, allocations: 16.38 kB / 330.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1016, allocations: 157.2 kB / 330.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1016, allocations: 8 kB / 330.8 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1016, allocations: 4 kB / 330.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1016, allocations: 4 kB / 330.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.1018, allocations: 87.94 kB / 330.9 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.1025, allocations: 0.5287 MB / 331.4 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1027, allocations: 74.55 kB / 331.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.1027, allocations: 32.84 kB / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1028, allocations: 0 / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1028, allocations: 38.69 kB / 331.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1028, allocations: 0 / 331.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008694/0.1037, allocations: 0.5983 MB / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1037, allocations: 56.38 kB / 332.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.1038, allocations: 129.8 kB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1038, allocations: 29.7 kB / 332.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.1039, allocations: 132 kB / 332.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1039, allocations: 43.38 kB / 332.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.104, allocations: 37.62 kB / 332.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.1041, allocations: 318.8 kB / 332.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.1042, allocations: 31.98 kB / 332.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1043, allocations: 94.73 kB / 333 MB, free: 14.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1045, allocations: 134.7 kB / 333.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1045, allocations: 0 / 333.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002375/0.1047, allocations: 153.4 kB / 333.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1047, allocations: 8.188 kB / 333.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1048, allocations: 4 kB / 333.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1048, allocations: 4 kB / 333.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1049, allocations: 39.86 kB / 333.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1049, allocations: 7.984 kB / 333.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.105, allocations: 8 kB / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.105, allocations: 4 kB / 333.4 MB, free: 13.68 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 8.853e-05/0.1051, allocations: 125.8 kB / 333.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1051, allocations: 7.906 kB / 333.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.1052, allocations: 16.38 kB / 333.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1052, allocations: 7.938 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1052, allocations: 0 / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1052, allocations: 8.016 kB / 333.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1057, allocations: 440 kB / 334 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1057, allocations: 4.062 kB / 334 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1058, allocations: 23.98 kB / 334 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1058, allocations: 4 kB / 334 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1059, allocations: 4 kB / 334 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1059, allocations: 7.938 kB / 334 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1059, allocations: 192 / 334 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1062, allocations: 257 kB / 334.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.1062, allocations: 85 kB / 334.4 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1062, allocations: 4.031 kB / 334.4 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1063, allocations: 4 kB / 334.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1064, allocations: 11.98 kB / 334.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1064, allocations: 0 / 334.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.1064, allocations: 96.39 kB / 334.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1064, allocations: 0 / 334.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1067, allocations: 32.06 kB / 334.5 MB, free: 12.46 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.0005406/0.1072, allocations: 0.7806 MB / 335.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1074, allocations: 95.84 kB / 335.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1074, allocations: 0 / 335.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.1075, allocations: 39.92 kB / 335.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1078, allocations: 11.98 kB / 335.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1096, allocations: 1.924 MB / 337.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1099, allocations: 0.7199 MB / 338.1 MB, free: 8.699 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.1099, allocations: 4.891 kB / 338.1 MB, free: 8.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.11, allocations: 39.42 kB / 338.1 MB, free: 8.656 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.11, allocations: 0 / 338.1 MB, free: 8.656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/0.2882, allocations: 2.161 MB / 340.3 MB, free: 6.469 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/0.2886, allocations: 197.8 kB / 340.5 MB, free: 6.215 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.116, allocations: 3.938 kB / 340.5 MB, free: 6.211 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","../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