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.001279/0.001279, allocations: 122.1 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.00129/0.00129, allocations: 202 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.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.13 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3106, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01393/0.3245, allocations: 11.92 MB / 0.5423 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009124/0.3337, allocations: 4.075 MB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.3365, allocations: 76.09 kB / 0.5463 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.3408, allocations: 1.674 MB / 0.5479 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.3461, allocations: 1.512 MB / 0.5494 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.3487, allocations: 1.18 MB / 0.5506 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005412/0.3541, allocations: 3.509 MB / 0.554 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.3576, allocations: 2.449 MB / 0.5564 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.3598, allocations: 1.156 MB / 0.5575 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.3622, allocations: 1.565 MB / 0.559 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007128/0.363, allocations: 236 kB / 0.5593 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.3646, allocations: 0.706 MB / 0.56 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.3662, allocations: 1.543 MB / 0.5615 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002221/0.3684, allocations: 1.863 MB / 0.5633 GB, free: 96 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007564/0.376, allocations: 6.146 MB / 0.5693 GB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3761, allocations: 0 / 0.5693 GB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3761, allocations: 0 / 0.5693 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.3763, allocations: 0 / 0.5693 GB, free: 9.918 MB / 430.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.008092/0.3844, allocations: 4.094 MB / 0.5733 GB, free: 5.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.3844, allocations: 8.031 kB / 0.5733 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/0.3857, allocations: 0.7163 MB / 0.574 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.3958, allocations: 2.993 MB / 0.5769 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/0.3995, allocations: 1.82 MB / 0.5787 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.3997, allocations: 197 kB / 0.5789 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006144/0.4004, allocations: 243.8 kB / 0.5791 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.4155, allocations: 10.04 MB / 0.5889 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.408e-05/0.4156, allocations: 35.69 kB / 0.589 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.416, allocations: 127.8 kB / 0.5891 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003774/0.4198, allocations: 2.31 MB / 0.5913 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.4357, allocations: 8.93 MB / 0.6001 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/0.4838, allocations: 37.61 MB / 0.6368 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006314/0.4901, allocations: 3.375 MB / 0.6401 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.4921, allocations: 1.234 MB / 0.6413 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008679/0.5008, allocations: 5.192 MB / 0.6463 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.5008, allocations: 55 kB / 0.6464 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.559e-06/0.5009, allocations: 0 / 0.6464 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007249/0.5081, allocations: 3.336 MB / 0.6497 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.5082, allocations: 170.7 kB / 0.6498 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/0.514, allocations: 3.841 MB / 0.6536 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.5142, allocations: 41.7 kB / 0.6536 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.5169, allocations: 3.318 MB / 0.6569 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007934/0.5177, allocations: 0.6285 MB / 0.6575 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/0.5195, allocations: 1.314 MB / 0.6587 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5197, allocations: 301.1 kB / 0.659 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/0.5229, allocations: 1.961 MB / 0.661 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006673/0.5296, allocations: 6.104 MB / 0.6669 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.5404, allocations: 8.802 MB / 0.6755 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.5406, allocations: 40 kB / 0.6755 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01506/0.5556, allocations: 7.714 MB / 0.6831 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.5558, allocations: 70.19 kB / 0.6831 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/0.556, allocations: 148.9 kB / 0.6833 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.5562, allocations: 192 kB / 0.6835 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004764/0.561, allocations: 1.462 MB / 0.6849 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002805/0.5613, allocations: 294.8 kB / 0.6852 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/0.5664, allocations: 0.9306 MB / 0.6861 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.5677, allocations: 404 kB / 0.6865 GB, free: 11.27 MB / 0.545 GB 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.004172/0.5719, allocations: 2.195 MB / 0.6886 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/0.5725, allocations: 325.7 kB / 0.6889 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/0.5733, allocations: 411.1 kB / 0.6893 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/0.5734, allocations: 43.92 kB / 0.6894 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.5734, allocations: 0 / 0.6894 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.5734, allocations: 11.92 kB / 0.6894 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/0.5828, allocations: 5.467 MB / 0.6947 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.5829, allocations: 4 kB / 0.6947 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.5839, allocations: 211.6 kB / 0.6949 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.5839, allocations: 8 kB / 0.6949 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.584, allocations: 28 kB / 0.695 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.584, allocations: 12.61 kB / 0.695 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.584, allocations: 15.94 kB / 0.695 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.5872, allocations: 2.55 MB / 0.6975 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.5878, allocations: 398.5 kB / 0.6978 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.5881, allocations: 27.94 kB / 0.6979 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.5891, allocations: 67.91 kB / 0.6979 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.5892, allocations: 76.36 kB / 0.698 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5893, allocations: 47.97 kB / 0.6981 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003529/0.5929, allocations: 2.338 MB / 0.7003 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5929, allocations: 0 / 0.7003 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004309/0.5972, allocations: 1.068 MB / 0.7014 GB, free: 11.76 MB / 0.5606 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.003689/0.6009, allocations: 3.172 MB / 0.7045 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007054/0.608, allocations: 4.451 MB / 0.7088 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.608, allocations: 0 / 0.7088 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.6093, allocations: 0.9489 MB / 0.7098 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.6115, allocations: 347.5 kB / 0.7101 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2734/0.8849, allocations: 41.8 MB / 0.7509 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/0.8876, allocations: 3.162 MB / 0.754 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004417/0.892, allocations: 2.225 MB / 0.7562 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.8942, allocations: 1.659 MB / 0.7578 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.8942, allocations: 0 / 0.7578 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07504/0.9692, allocations: 50.92 MB / 0.8075 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/19.33, allocations: 9.453 kB / 0.8075 GB, free: 103.3 MB / 0.5762 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