Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007047/0.0007047, allocations: 93.48 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8 kB / 327.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.202, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001777/0.2039, allocations: 1.628 MB / 376.8 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.2046, allocations: 0.5071 MB / 377.3 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.2047, allocations: 3.469 kB / 377.3 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.455e-05/0.2048, allocations: 18.28 kB / 377.3 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.2049, allocations: 32.33 kB / 377.4 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.2051, allocations: 29.22 kB / 377.4 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2052, allocations: 135 kB / 377.5 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2054, allocations: 54.36 kB / 377.6 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.738e-05/0.2055, allocations: 58.3 kB / 377.6 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.2056, allocations: 53.94 kB / 377.7 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2056, allocations: 7.25 kB / 377.7 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.2056, allocations: 15.41 kB / 377.7 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.2057, allocations: 24.38 kB / 377.7 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.2057, allocations: 86.78 kB / 377.8 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.2059, allocations: 128 kB / 377.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2059, allocations: 0 / 377.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2059, allocations: 0 / 377.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2059, allocations: 0 / 377.9 MB, free: 43.3 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.0004304/0.2064, allocations: 409.5 kB / 378.3 MB, free: 42.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2064, allocations: 8.719 kB / 378.4 MB, free: 42.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.2065, allocations: 56.2 kB / 378.4 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2065, allocations: 15.5 kB / 378.4 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2067, allocations: 206.6 kB / 378.6 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2067, allocations: 10.91 kB / 378.6 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.2067, allocations: 14.16 kB / 378.6 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.207, allocations: 155.1 kB / 378.8 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.207, allocations: 5.156 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.207, allocations: 9.078 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.207, allocations: 3.656 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.2072, allocations: 92.75 kB / 378.9 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.2079, allocations: 0.5343 MB / 379.4 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.208, allocations: 87.41 kB / 379.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.2081, allocations: 33.47 kB / 379.6 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.2081, allocations: 0 / 379.6 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.2082, allocations: 32.25 kB / 379.6 MB, free: 41.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 7.81e-07/0.2082, allocations: 0 / 379.6 MB, free: 41.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008216/0.209, allocations: 0.6021 MB / 380.2 MB, free: 41.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.209, allocations: 60.53 kB / 380.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.2091, allocations: 128.5 kB / 380.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.2091, allocations: 30.61 kB / 380.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.2092, allocations: 143.7 kB / 380.5 MB, free: 40.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.2092, allocations: 32.09 kB / 380.6 MB, free: 40.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.2092, allocations: 5.156 kB / 380.6 MB, free: 40.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.2093, allocations: 321.1 kB / 380.9 MB, free: 40.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.2093, allocations: 31.3 kB / 380.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.2094, allocations: 89.44 kB / 381 MB, free: 40.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2096, allocations: 142.3 kB / 381.2 MB, free: 40.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2096, allocations: 0 / 381.2 MB, free: 40.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002446/0.2099, allocations: 157.5 kB / 381.3 MB, free: 40.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2099, allocations: 8.625 kB / 381.3 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2099, allocations: 1.344 kB / 381.3 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2099, allocations: 2.906 kB / 381.3 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.2101, allocations: 45.33 kB / 381.4 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2101, allocations: 6.391 kB / 381.4 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.2102, allocations: 5.844 kB / 381.4 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2102, allocations: 9.656 kB / 381.4 MB, free: 40.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/0.2103, allocations: 133.6 kB / 381.5 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2103, allocations: 7.469 kB / 381.5 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2103, allocations: 14.72 kB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2103, allocations: 5.156 kB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2104, allocations: 4.906 kB / 381.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2104, allocations: 3.984 kB / 381.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.2108, allocations: 452.1 kB / 382 MB, free: 39.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2108, allocations: 5.078 kB / 382 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.2109, allocations: 24.27 kB / 382 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2109, allocations: 1.406 kB / 382 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2109, allocations: 2.5 kB / 382 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2109, allocations: 5.094 kB / 382 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.211, allocations: 1.031 kB / 382 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.2112, allocations: 253.6 kB / 382.3 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.2113, allocations: 87.75 kB / 382.4 MB, free: 39.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2113, allocations: 6.812 kB / 382.4 MB, free: 39.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.2114, allocations: 6.344 kB / 382.4 MB, free: 39.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2114, allocations: 12.77 kB / 382.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2114, allocations: 10.62 kB / 382.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.2115, allocations: 98.56 kB / 382.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2115, allocations: 0 / 382.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.2117, allocations: 26.59 kB / 382.5 MB, free: 39.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004078/0.2121, allocations: 0.7895 MB / 383.3 MB, free: 38.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2123, allocations: 96.47 kB / 383.4 MB, free: 38.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2123, allocations: 0 / 383.4 MB, free: 38.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.2124, allocations: 36.83 kB / 383.4 MB, free: 38.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2127, allocations: 17.98 kB / 383.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2139, allocations: 0.9962 MB / 384.5 MB, free: 37.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.214, allocations: 0.7149 MB / 385.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.2141, allocations: 43.05 kB / 385.2 MB, free: 36.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2141, allocations: 4 kB / 385.2 MB, free: 36.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.422/2.636, allocations: 1.924 MB / 387.1 MB, free: 35.85 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_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.s_support,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