Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001514, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 76.62 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02268/0.1421, allocations: 22.23 MB / 0.4901 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.1584, allocations: 5.671 MB / 0.4956 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005601/0.1641, allocations: 99.75 kB / 0.4957 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00491/0.169, allocations: 1.581 MB / 0.4972 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.1746, allocations: 1.441 MB / 0.4986 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.1784, allocations: 1.138 MB / 0.4998 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007556/0.186, allocations: 3.561 MB / 0.5032 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2327/0.4187, allocations: 2.597 MB / 0.5058 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.4209, allocations: 1.168 MB / 0.5069 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.424, allocations: 1.756 MB / 0.5086 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007903/0.4248, allocations: 237.5 kB / 0.5088 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.4266, allocations: 0.723 MB / 0.5096 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.4283, allocations: 1.568 MB / 0.5111 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.4301, allocations: 1.888 MB / 0.5129 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.4373, allocations: 5.875 MB / 0.5187 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4373, allocations: 0 / 0.5187 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4373, allocations: 1.312 kB / 0.5187 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002093/0.4376, allocations: 0 / 0.5187 GB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.008684/0.4463, allocations: 3.976 MB / 0.5226 GB, free: 8.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4463, allocations: 10.12 kB / 0.5226 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/0.4475, allocations: 0.7151 MB / 0.5233 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009352/0.4569, allocations: 2.968 MB / 0.5262 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.4602, allocations: 1.797 MB / 0.5279 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/0.4603, allocations: 193.3 kB / 0.5281 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004594/0.4608, allocations: 246.5 kB / 0.5283 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.4737, allocations: 10.04 MB / 0.5381 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.4739, allocations: 31.81 kB / 0.5382 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005512/0.4745, allocations: 125.4 kB / 0.5383 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003563/0.478, allocations: 2.313 MB / 0.5405 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.4952, allocations: 8.929 MB / 0.5493 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05417/0.5494, allocations: 37.71 MB / 0.5861 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006169/0.5556, allocations: 3.377 MB / 0.5894 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.5576, allocations: 1.235 MB / 0.5906 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009383/0.567, allocations: 5.184 MB / 0.5957 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.5671, allocations: 50.03 kB / 0.5957 GB, free: 7.039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.19e-06/0.5671, allocations: 0 / 0.5957 GB, free: 7.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007124/0.5742, allocations: 3.315 MB / 0.5989 GB, free: 3.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5743, allocations: 175.8 kB / 0.5991 GB, free: 3.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008042/0.5824, allocations: 3.822 MB / 0.6028 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.5826, allocations: 48.2 kB / 0.6029 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003036/0.5856, allocations: 3.18 MB / 0.606 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.5867, allocations: 0.608 MB / 0.6066 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/0.5894, allocations: 1.301 MB / 0.6079 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5895, allocations: 301.1 kB / 0.6081 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/0.5934, allocations: 1.957 MB / 0.6101 GB, free: 8.316 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00733/0.6007, allocations: 6.108 MB / 0.616 GB, free: 212 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/0.6132, allocations: 8.796 MB / 0.6246 GB, free: 5.938 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/0.6134, allocations: 44 kB / 0.6247 GB, free: 5.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0162/0.6296, allocations: 7.698 MB / 0.6322 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.6298, allocations: 71.94 kB / 0.6322 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003113/0.6301, allocations: 148 kB / 0.6324 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.6304, allocations: 192 kB / 0.6326 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/0.6351, allocations: 1.454 MB / 0.634 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002512/0.6354, allocations: 290.9 kB / 0.6343 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.6406, allocations: 0.9156 MB / 0.6352 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009492/0.6416, allocations: 400 kB / 0.6355 GB, free: 11.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 783 * Array equations: 8 * 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 0.004682/0.6463, allocations: 2.195 MB / 0.6377 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006249/0.6469, allocations: 307.9 kB / 0.638 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.648, allocations: 407.1 kB / 0.6384 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.288e-05/0.648, allocations: 39.98 kB / 0.6384 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.6481, allocations: 3.625 kB / 0.6384 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6481, allocations: 11.97 kB / 0.6384 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.6596, allocations: 5.467 MB / 0.6438 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.6596, allocations: 4 kB / 0.6438 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00094/0.6606, allocations: 207.7 kB / 0.644 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.6606, allocations: 8 kB / 0.644 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.6607, allocations: 31.92 kB / 0.644 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.6607, allocations: 15.94 kB / 0.644 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6607, allocations: 11.88 kB / 0.644 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.6639, allocations: 2.534 MB / 0.6465 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/0.6647, allocations: 368.7 kB / 0.6468 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/0.6653, allocations: 31.94 kB / 0.6469 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.6665, allocations: 66.17 kB / 0.6469 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.6667, allocations: 80.3 kB / 0.647 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.6668, allocations: 47.98 kB / 0.6471 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004145/0.671, allocations: 2.33 MB / 0.6493 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.671, allocations: 0 / 0.6493 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005428/0.6764, allocations: 1.065 MB / 0.6504 GB, free: 11.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (108): * Single equations (assignments): 102 * Array equations: 6 * 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.004471/0.6809, allocations: 3.165 MB / 0.6535 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008649/0.6896, allocations: 5.092 MB / 0.6584 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6896, allocations: 0 / 0.6584 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.6909, allocations: 0.9532 MB / 0.6594 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.6934, allocations: 362 kB / 0.6597 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07637/0.7697, allocations: 47.33 MB / 0.7059 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005487/0.7753, allocations: 3.166 MB / 0.709 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006438/0.7817, allocations: 2.227 MB / 0.7112 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003376/0.7852, allocations: 1.655 MB / 0.7128 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.7852, allocations: 4 kB / 0.7128 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3097/1.095, allocations: 54.68 MB / 0.7662 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/1.095, allocations: 202.8 kB / 0.7664 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/4.605, allocations: 4 kB / 0.7664 GB, free: 184.1 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches