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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.94 MB / 361.6 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 79.88 kB / 0.4969 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3121, allocations: 66.09 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01482/0.3269, allocations: 10.34 MB / 0.5715 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.3362, allocations: 3.883 MB / 0.5753 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.3382, allocations: 87.69 kB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.3418, allocations: 1.635 MB / 0.577 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.3457, allocations: 1.572 MB / 0.5785 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.3484, allocations: 1.134 MB / 0.5796 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005573/0.3539, allocations: 3.513 MB / 0.5831 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.3572, allocations: 1.992 MB / 0.585 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.3592, allocations: 1.172 MB / 0.5862 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.3619, allocations: 1.736 MB / 0.5879 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008406/0.3628, allocations: 236 kB / 0.5881 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.3646, allocations: 0.628 MB / 0.5887 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002119/0.3667, allocations: 1.589 MB / 0.5902 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.3691, allocations: 1.303 MB / 0.5915 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.3768, allocations: 6.173 MB / 0.5975 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.3768, allocations: 4 kB / 0.5976 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3768, allocations: 0 / 0.5976 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002278/0.377, allocations: 0 / 0.5976 GB, free: 14.87 MB / 446.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.008616/0.3857, allocations: 4.011 MB / 0.6015 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3857, allocations: 12.03 kB / 0.6015 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001391/0.3858, allocations: 97.11 kB / 0.6016 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001118/0.387, allocations: 0.7125 MB / 0.6023 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009886/0.3969, allocations: 2.993 MB / 0.6052 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.4012, allocations: 1.771 MB / 0.6069 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.4014, allocations: 200.7 kB / 0.6071 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.4024, allocations: 247.8 kB / 0.6073 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.419, allocations: 10.04 MB / 0.6171 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/0.4191, allocations: 31.69 kB / 0.6172 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/0.4195, allocations: 127.8 kB / 0.6173 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003687/0.4231, allocations: 2.321 MB / 0.6196 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.4391, allocations: 8.921 MB / 0.6283 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.4909, allocations: 36.04 MB / 0.6635 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/0.4965, allocations: 2.341 MB / 0.6658 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.4983, allocations: 1.14 MB / 0.6669 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00882/0.5071, allocations: 4.494 MB / 0.6713 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.5072, allocations: 51.16 kB / 0.6713 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.869e-06/0.5072, allocations: 0 / 0.6713 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007268/0.5145, allocations: 3.335 MB / 0.6746 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.5146, allocations: 170.8 kB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005612/0.5202, allocations: 3.838 MB / 0.6785 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.5203, allocations: 45.61 kB / 0.6785 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.5232, allocations: 3.317 MB / 0.6818 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008307/0.524, allocations: 0.636 MB / 0.6824 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.5258, allocations: 1.31 MB / 0.6837 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.526, allocations: 301.1 kB / 0.6839 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/0.529, allocations: 1.957 MB / 0.6859 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/0.5359, allocations: 6.104 MB / 0.6918 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/0.5473, allocations: 8.8 MB / 0.7004 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/0.5474, allocations: 40 kB / 0.7005 GB, free: 15.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01497/0.5624, allocations: 7.721 MB / 0.708 GB, free: 7.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.5625, allocations: 68 kB / 0.7081 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/0.5627, allocations: 152.9 kB / 0.7082 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.5629, allocations: 196 kB / 0.7084 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004918/0.5678, allocations: 1.454 MB / 0.7098 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002533/0.568, allocations: 290.9 kB / 0.7101 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/0.5725, allocations: 0.9384 MB / 0.711 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000952/0.5735, allocations: 400 kB / 0.7114 GB, free: 4.004 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.004236/0.5777, allocations: 2.203 MB / 0.7135 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006733/0.5784, allocations: 321.7 kB / 0.7138 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007925/0.5792, allocations: 411.1 kB / 0.7142 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.441e-05/0.5792, allocations: 35.98 kB / 0.7143 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.5792, allocations: 4 kB / 0.7143 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5793, allocations: 3.984 kB / 0.7143 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008816/0.5881, allocations: 5.275 MB / 0.7194 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.5881, allocations: 4 kB / 0.7194 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/0.589, allocations: 211.6 kB / 0.7196 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.5891, allocations: 8 kB / 0.7196 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.5891, allocations: 32 kB / 0.7197 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.5892, allocations: 8 kB / 0.7197 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.5892, allocations: 11.94 kB / 0.7197 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/0.5924, allocations: 2.546 MB / 0.7222 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006773/0.5931, allocations: 321.4 kB / 0.7225 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.5934, allocations: 27.98 kB / 0.7225 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.5944, allocations: 59.92 kB / 0.7226 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.5946, allocations: 84.25 kB / 0.7226 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5947, allocations: 43.98 kB / 0.7227 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003516/0.5982, allocations: 2.334 MB / 0.725 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5982, allocations: 192 / 0.725 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004463/0.6027, allocations: 1.076 MB / 0.726 GB, free: 4.801 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.003763/0.6064, allocations: 3.186 MB / 0.7291 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2545/0.861, allocations: 4.254 MB / 0.7333 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.861, allocations: 0 / 0.7333 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.862, allocations: 0.872 MB / 0.7341 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.8639, allocations: 354.6 kB / 0.7345 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/0.9092, allocations: 41.8 MB / 0.7753 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.9117, allocations: 2.615 MB / 0.7778 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003845/0.9156, allocations: 2.227 MB / 0.78 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/0.9172, allocations: 1.659 MB / 0.7816 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.9172, allocations: 0 / 0.7816 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/0.9971, allocations: 52.85 MB / 0.8333 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.81/22.81, allocations: 4.062 kB / 0.8333 GB, free: 56.39 MB / 0.5606 GB " [Timeout remaining time 637] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.29681921005249]