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.001343/0.001343, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001446/0.001446, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2341/0.2341, allocations: 46.95 MB / 360.8 MB, free: 3.926 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 79.88 kB / 0.4961 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3153, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01347/0.3288, allocations: 10.4 MB / 0.5708 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007999/0.3368, allocations: 3.891 MB / 0.5746 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.3385, allocations: 87.69 kB / 0.5747 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.3418, allocations: 1.651 MB / 0.5763 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.3455, allocations: 1.557 MB / 0.5779 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.3478, allocations: 1.149 MB / 0.579 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004764/0.3525, allocations: 3.494 MB / 0.5824 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.3551, allocations: 1.992 MB / 0.5843 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.3566, allocations: 1.172 MB / 0.5855 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.359, allocations: 1.658 MB / 0.5871 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005514/0.3596, allocations: 236 kB / 0.5873 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.3611, allocations: 0.6201 MB / 0.5879 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.3627, allocations: 1.589 MB / 0.5895 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.3643, allocations: 1.307 MB / 0.5908 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007207/0.3715, allocations: 6.173 MB / 0.5968 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3715, allocations: 0 / 0.5968 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3715, allocations: 7.875 kB / 0.5968 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001397/0.3717, allocations: 0 / 0.5968 GB, free: 14.88 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.008014/0.3797, allocations: 4.015 MB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3797, allocations: 8.031 kB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000922/0.3806, allocations: 0.7202 MB / 0.6014 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.3906, allocations: 2.993 MB / 0.6043 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.3952, allocations: 1.771 MB / 0.6061 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.3954, allocations: 192.9 kB / 0.6063 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006039/0.396, allocations: 247.8 kB / 0.6065 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.4115, allocations: 10.04 MB / 0.6163 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.874e-05/0.4115, allocations: 31.69 kB / 0.6163 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/0.4119, allocations: 123.8 kB / 0.6164 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003785/0.4157, allocations: 2.314 MB / 0.6187 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.4318, allocations: 8.917 MB / 0.6274 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04922/0.481, allocations: 36.02 MB / 0.6626 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005489/0.4865, allocations: 2.342 MB / 0.6649 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4882, allocations: 1.132 MB / 0.666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00939/0.4976, allocations: 4.494 MB / 0.6704 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.4977, allocations: 55.08 kB / 0.6704 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.159e-06/0.4977, allocations: 0 / 0.6704 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007291/0.505, allocations: 3.335 MB / 0.6737 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.5051, allocations: 174.8 kB / 0.6739 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/0.5108, allocations: 4.088 MB / 0.6778 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.511, allocations: 41.98 kB / 0.6779 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002806/0.5138, allocations: 3.321 MB / 0.6811 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000789/0.5146, allocations: 0.6321 MB / 0.6817 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/0.5163, allocations: 1.314 MB / 0.683 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5164, allocations: 301.1 kB / 0.6833 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/0.5194, allocations: 1.957 MB / 0.6852 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/0.5261, allocations: 6.108 MB / 0.6912 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.5377, allocations: 8.789 MB / 0.6998 GB, free: 15.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/0.5378, allocations: 48 kB / 0.6998 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0158/0.5536, allocations: 7.725 MB / 0.7074 GB, free: 7.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.5537, allocations: 68 kB / 0.7074 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/0.5539, allocations: 144 kB / 0.7076 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.5541, allocations: 196 kB / 0.7078 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004643/0.5588, allocations: 1.455 MB / 0.7092 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002605/0.559, allocations: 290.9 kB / 0.7095 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/0.5638, allocations: 0.9345 MB / 0.7104 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007586/0.5646, allocations: 407.9 kB / 0.7108 GB, free: 3.875 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.003663/0.5682, allocations: 2.195 MB / 0.7129 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006111/0.5688, allocations: 321.7 kB / 0.7132 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007556/0.5696, allocations: 411.1 kB / 0.7136 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/0.5697, allocations: 39.98 kB / 0.7136 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.5697, allocations: 4 kB / 0.7136 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5697, allocations: 7.922 kB / 0.7136 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009655/0.5793, allocations: 5.271 MB / 0.7188 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.5794, allocations: 4 kB / 0.7188 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009965/0.5804, allocations: 211.7 kB / 0.719 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-05/0.5804, allocations: 15.94 kB / 0.719 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.656e-05/0.5805, allocations: 27.94 kB / 0.719 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.5805, allocations: 8.188 kB / 0.719 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.5805, allocations: 11.94 kB / 0.7191 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/0.5838, allocations: 2.554 MB / 0.7216 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006931/0.5845, allocations: 305.4 kB / 0.7218 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.5848, allocations: 31.97 kB / 0.7219 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009618/0.5858, allocations: 63.92 kB / 0.7219 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.5859, allocations: 80.25 kB / 0.722 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.586, allocations: 47.98 kB / 0.7221 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003964/0.59, allocations: 2.33 MB / 0.7243 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.59, allocations: 0 / 0.7243 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00497/0.595, allocations: 1.079 MB / 0.7254 GB, free: 4.668 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.004032/0.599, allocations: 3.178 MB / 0.7285 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2419/0.8409, allocations: 4.256 MB / 0.7326 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.8409, allocations: 0 / 0.7326 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.8419, allocations: 0.8737 MB / 0.7335 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.8436, allocations: 357.2 kB / 0.7338 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03702/0.8806, allocations: 41.8 MB / 0.7747 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/0.8832, allocations: 2.622 MB / 0.7772 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00428/0.8874, allocations: 2.223 MB / 0.7794 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/0.8893, allocations: 1.663 MB / 0.781 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.8893, allocations: 0 / 0.781 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08241/0.9718, allocations: 49.91 MB / 0.8298 GB, free: 58.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.95, allocations: 7.625 kB / 0.8298 GB, free: 58.95 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.047244208399206]