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.001363/0.001363, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.188/0.188, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 77.72 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.097, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01956/0.1166, allocations: 22.23 MB / 0.4899 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1268, allocations: 5.742 MB / 0.4955 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.1297, allocations: 99.75 kB / 0.4956 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.1328, allocations: 1.628 MB / 0.4971 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.1359, allocations: 1.448 MB / 0.4986 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.1379, allocations: 1.181 MB / 0.4997 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004755/0.1427, allocations: 4.945 MB / 0.5045 GB, free: 192 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1682/0.3109, allocations: 2.456 MB / 0.5069 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.312, allocations: 1.005 MB / 0.5079 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.3136, allocations: 1.687 MB / 0.5096 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.3139, allocations: 169 kB / 0.5097 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.315, allocations: 0.6792 MB / 0.5104 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.3161, allocations: 1.502 MB / 0.5119 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.3171, allocations: 1.818 MB / 0.5136 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.3215, allocations: 5.773 MB / 0.5193 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3215, allocations: 1.219 kB / 0.5193 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3215, allocations: 1.875 kB / 0.5193 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.783e-05/0.3216, allocations: 0 / 0.5193 GB, free: 9.324 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.00485/0.3264, allocations: 3.98 MB / 0.5232 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3265, allocations: 9.188 kB / 0.5232 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006762/0.3272, allocations: 0.7183 MB / 0.5239 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00799/0.3351, allocations: 2.966 MB / 0.5268 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.3375, allocations: 1.792 MB / 0.5285 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.705e-05/0.3376, allocations: 195.4 kB / 0.5287 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004011/0.3381, allocations: 253.3 kB / 0.529 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009185/0.3472, allocations: 10.03 MB / 0.5387 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.3473, allocations: 34.69 kB / 0.5388 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.3476, allocations: 130.2 kB / 0.5389 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002759/0.3504, allocations: 2.326 MB / 0.5412 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.3626, allocations: 8.922 MB / 0.5499 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0364/0.399, allocations: 37.7 MB / 0.5867 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.4039, allocations: 3.385 MB / 0.59 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.4054, allocations: 1.232 MB / 0.5912 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007325/0.4128, allocations: 5.166 MB / 0.5963 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4128, allocations: 54.22 kB / 0.5963 GB, free: 6.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.078e-06/0.4128, allocations: 0 / 0.5963 GB, free: 6.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.006418/0.4192, allocations: 3.325 MB / 0.5996 GB, free: 3.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.4194, allocations: 170.8 kB / 0.5997 GB, free: 2.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005558/0.4249, allocations: 3.821 MB / 0.6035 GB, free: 15.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.425, allocations: 48.42 kB / 0.6035 GB, free: 15.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.427, allocations: 3.173 MB / 0.6066 GB, free: 11.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.4275, allocations: 0.6088 MB / 0.6072 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/0.4292, allocations: 1.306 MB / 0.6085 GB, free: 9.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.4292, allocations: 305.1 kB / 0.6088 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/0.4319, allocations: 1.957 MB / 0.6107 GB, free: 7.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/0.4369, allocations: 6.102 MB / 0.6166 GB, free: 15.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00799/0.4449, allocations: 8.799 MB / 0.6252 GB, free: 5.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.626e-05/0.445, allocations: 47.84 kB / 0.6253 GB, free: 5.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.009662/0.4546, allocations: 7.707 MB / 0.6328 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.4547, allocations: 72.94 kB / 0.6329 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.4548, allocations: 148 kB / 0.633 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.455, allocations: 196 kB / 0.6332 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/0.4585, allocations: 1.454 MB / 0.6346 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001783/0.4587, allocations: 290.9 kB / 0.6349 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.4619, allocations: 0.9109 MB / 0.6358 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004113/0.4623, allocations: 396 kB / 0.6362 GB, free: 10.42 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.00271/0.465, allocations: 2.197 MB / 0.6383 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.4654, allocations: 311.9 kB / 0.6386 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.4659, allocations: 407.1 kB / 0.639 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/0.466, allocations: 36 kB / 0.639 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.466, allocations: 0 / 0.639 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.466, allocations: 11.97 kB / 0.639 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006889/0.4729, allocations: 5.46 MB / 0.6444 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4729, allocations: 4 kB / 0.6444 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.4737, allocations: 207.7 kB / 0.6446 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4737, allocations: 8.656 kB / 0.6446 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-05/0.4738, allocations: 31.92 kB / 0.6446 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.4738, allocations: 19.94 kB / 0.6446 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4738, allocations: 8 kB / 0.6446 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.4763, allocations: 2.532 MB / 0.6471 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.4767, allocations: 368.7 kB / 0.6475 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.4769, allocations: 39.92 kB / 0.6475 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/0.4778, allocations: 59.92 kB / 0.6475 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.478, allocations: 86.86 kB / 0.6476 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.4781, allocations: 44 kB / 0.6477 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002561/0.4806, allocations: 2.334 MB / 0.65 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4806, allocations: 0 / 0.65 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003461/0.4841, allocations: 1.062 MB / 0.651 GB, free: 11.01 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.002877/0.487, allocations: 3.167 MB / 0.6541 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004919/0.4919, allocations: 4.419 MB / 0.6584 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4919, allocations: 4 kB / 0.6584 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.493, allocations: 0.9528 MB / 0.6593 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.4945, allocations: 331.6 kB / 0.6596 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04918/0.5437, allocations: 47.33 MB / 0.7059 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.5467, allocations: 3.162 MB / 0.709 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004594/0.5513, allocations: 2.22 MB / 0.7111 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/0.5531, allocations: 1.671 MB / 0.7128 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.5531, allocations: 0 / 0.7128 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.939/2.492, allocations: 53.89 MB / 0.7654 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/2.493, allocations: 203.5 kB / 0.7656 GB, free: 183 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.157/6.65, allocations: 4 kB / 0.7656 GB, free: 183 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