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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.88 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2456, allocations: 50.55 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003355/0.249, allocations: 1.996 MB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2501, allocations: 0.5726 MB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.2502, allocations: 7.938 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.315e-05/0.2503, allocations: 23.78 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.2504, allocations: 31.66 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2506, allocations: 51.92 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.2508, allocations: 151.4 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2509, allocations: 65.5 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2511, allocations: 75.72 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2512, allocations: 71.69 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2512, allocations: 12 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.2513, allocations: 20 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.2513, allocations: 31.91 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.2514, allocations: 75.61 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2516, allocations: 166.3 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2517, allocations: 0 / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2517, allocations: 3.938 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2517, allocations: 0 / 412.2 MB, free: 14.12 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.0005871/0.2523, allocations: 454.8 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2523, allocations: 8.031 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.2524, allocations: 50.73 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.2525, allocations: 28.83 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.2528, allocations: 204.1 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.2528, allocations: 12.38 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.2528, allocations: 16.31 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2531, allocations: 145.5 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2532, allocations: 7.938 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.2532, allocations: 12 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2532, allocations: 4 kB / 413.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.2534, allocations: 87.89 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.2542, allocations: 0.5253 MB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.2543, allocations: 74.5 kB / 413.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.2544, allocations: 32.84 kB / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2544, allocations: 0 / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2545, allocations: 34.56 kB / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.2545, allocations: 0 / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001024/0.2555, allocations: 0.5954 MB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2556, allocations: 63.66 kB / 414.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.2557, allocations: 126.1 kB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2558, allocations: 29.7 kB / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.2559, allocations: 136.1 kB / 414.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2559, allocations: 51.52 kB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.256, allocations: 37.7 kB / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2561, allocations: 318.8 kB / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.2562, allocations: 31.97 kB / 415.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2563, allocations: 85.27 kB / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.2565, allocations: 134.7 kB / 415.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2566, allocations: 4 kB / 415.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002631/0.2568, allocations: 161.3 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2569, allocations: 4 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2569, allocations: 4 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2569, allocations: 4 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.257, allocations: 35.92 kB / 415.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2571, allocations: 3.984 kB / 415.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.2571, allocations: 16.12 kB / 415.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2571, allocations: 8 kB / 415.7 MB, free: 10.25 MB / 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 9.994e-05/0.2573, allocations: 125.8 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2573, allocations: 7.953 kB / 415.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.2573, allocations: 12.77 kB / 415.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2573, allocations: 15.91 kB / 415.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2574, allocations: 0 / 415.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2574, allocations: 0 / 415.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.258, allocations: 452 kB / 416.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.258, allocations: 0 / 416.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2581, allocations: 27.92 kB / 416.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2581, allocations: 4 kB / 416.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2581, allocations: 4 kB / 416.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2581, allocations: 3.984 kB / 416.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2581, allocations: 4 kB / 416.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.2585, allocations: 253.1 kB / 416.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.2586, allocations: 89.02 kB / 416.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.2586, allocations: 4 kB / 416.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.2587, allocations: 4 kB / 416.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2587, allocations: 8.047 kB / 416.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2587, allocations: 8 kB / 416.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.255e-05/0.2588, allocations: 102.8 kB / 416.8 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2588, allocations: 0 / 416.8 MB, free: 9.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.2591, allocations: 28 kB / 416.8 MB, free: 9.012 MB / 334.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.0006326/0.2597, allocations: 0.7883 MB / 417.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.26, allocations: 87.83 kB / 417.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.26, allocations: 0 / 417.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.2601, allocations: 40.42 kB / 417.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2604, allocations: 16.06 kB / 417.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.2625, allocations: 1.866 MB / 419.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.2628, allocations: 0.7196 MB / 420.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.2629, allocations: 16.81 kB / 420.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.263, allocations: 35.42 kB / 420.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.263, allocations: 0 / 420.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.287, allocations: 2.413 MB / 422.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.913, allocations: 4.5 kB / 422.8 MB, free: 2.922 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) 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) "" 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.continuous,sineForce.f,sineForce.offset,sineForce.phase,sineForce.startTime,sineForce.y,speedSensor1.flange.f,speedSensor1.flange.s,speedSensor1.v,time