Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.92 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 64.8 kB / 491.8 MB, free: 30.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 64.25 MB / 0.543 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01469/0.1386, allocations: 12.12 MB / 0.5548 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008567/0.1472, allocations: 4.042 MB / 0.5588 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.1491, allocations: 79.81 kB / 0.5588 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.1528, allocations: 1.705 MB / 0.5605 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004069/0.1568, allocations: 1.596 MB / 0.5621 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.1594, allocations: 1.184 MB / 0.5632 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005456/0.1649, allocations: 3.513 MB / 0.5667 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/0.168, allocations: 2.087 MB / 0.5687 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.17, allocations: 1.179 MB / 0.5698 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.1727, allocations: 1.76 MB / 0.5716 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.1738, allocations: 243.9 kB / 0.5718 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.1768, allocations: 0.7373 MB / 0.5725 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.18, allocations: 1.64 MB / 0.5741 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004109/0.1841, allocations: 1.917 MB / 0.576 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.1963, allocations: 6.305 MB / 0.5821 GB, free: 11.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1963, allocations: 0 / 0.5821 GB, free: 11.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1963, allocations: 0 / 0.5821 GB, free: 11.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002815/0.1966, allocations: 0 / 0.5821 GB, free: 11.85 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01259/0.2091, allocations: 4.195 MB / 0.5862 GB, free: 7.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.2092, allocations: 8.031 kB / 0.5863 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/0.2105, allocations: 0.7327 MB / 0.587 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.2206, allocations: 3.024 MB / 0.5899 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.2259, allocations: 1.843 MB / 0.5917 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.2261, allocations: 200.9 kB / 0.5919 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.2275, allocations: 247.8 kB / 0.5921 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.2471, allocations: 10.23 MB / 0.6021 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.723e-05/0.2472, allocations: 31.69 kB / 0.6022 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005571/0.2477, allocations: 127.8 kB / 0.6023 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004075/0.2518, allocations: 2.372 MB / 0.6046 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.272/0.5238, allocations: 9.073 MB / 0.6135 GB, free: 52.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04865/0.5725, allocations: 38.05 MB / 0.6506 GB, free: 25.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.5774, allocations: 3.245 MB / 0.6538 GB, free: 23.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.5791, allocations: 1.129 MB / 0.6549 GB, free: 22.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00867/0.5877, allocations: 5.205 MB / 0.66 GB, free: 19.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5878, allocations: 46.81 kB / 0.66 GB, free: 19.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.529e-06/0.5878, allocations: 0 / 0.66 GB, free: 19.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.006263/0.594, allocations: 3.344 MB / 0.6633 GB, free: 16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.5941, allocations: 170.8 kB / 0.6635 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/0.599, allocations: 3.879 MB / 0.6672 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.5993, allocations: 41.7 kB / 0.6673 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.601, allocations: 3.368 MB / 0.6706 GB, free: 8.691 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/0.6018, allocations: 0.6318 MB / 0.6712 GB, free: 8.066 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/0.6034, allocations: 1.325 MB / 0.6725 GB, free: 6.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.6034, allocations: 309.8 kB / 0.6728 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.6057, allocations: 1.961 MB / 0.6747 GB, free: 4.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005878/0.6116, allocations: 6.152 MB / 0.6807 GB, free: 12.22 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/0.625, allocations: 8.856 MB / 0.6894 GB, free: 1.281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/0.6252, allocations: 40 kB / 0.6894 GB, free: 1.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01767/0.6428, allocations: 7.783 MB / 0.697 GB, free: 9.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.6431, allocations: 68 kB / 0.6971 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003985/0.6435, allocations: 151.9 kB / 0.6972 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.6439, allocations: 196 kB / 0.6974 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00559/0.6494, allocations: 1.466 MB / 0.6988 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/0.6499, allocations: 286.9 kB / 0.6991 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006369/0.6563, allocations: 0.9423 MB / 0.7 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/0.6577, allocations: 407.9 kB / 0.7004 GB, free: 5.953 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * 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.005997/0.6637, allocations: 2.226 MB / 0.7026 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000903/0.6646, allocations: 326.7 kB / 0.7029 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.666, allocations: 415.3 kB / 0.7033 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.775e-05/0.6661, allocations: 35.81 kB / 0.7033 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.6661, allocations: 4 kB / 0.7033 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.6661, allocations: 6.422 kB / 0.7033 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.6794, allocations: 5.539 MB / 0.7087 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.6794, allocations: 4.656 kB / 0.7087 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6804, allocations: 211.7 kB / 0.7089 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.6805, allocations: 11.94 kB / 0.709 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.6806, allocations: 35.92 kB / 0.709 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/0.6806, allocations: 8.469 kB / 0.709 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.6806, allocations: 11.94 kB / 0.709 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/0.6843, allocations: 2.545 MB / 0.7115 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.6854, allocations: 394.5 kB / 0.7119 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.6857, allocations: 31.92 kB / 0.7119 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6868, allocations: 67.84 kB / 0.712 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.687, allocations: 80.36 kB / 0.712 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6871, allocations: 43.98 kB / 0.7121 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004562/0.6916, allocations: 2.358 MB / 0.7144 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6916, allocations: 0 / 0.7144 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005925/0.6976, allocations: 1.114 MB / 0.7155 GB, free: 6.297 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.004479/0.702, allocations: 3.188 MB / 0.7186 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008421/0.7105, allocations: 4.28 MB / 0.7228 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.7105, allocations: 0 / 0.7228 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.712, allocations: 0.8735 MB / 0.7236 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.7145, allocations: 373.6 kB / 0.724 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07757/0.792, allocations: 42.19 MB / 0.7652 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005503/0.7975, allocations: 3.211 MB / 0.7683 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005663/0.8032, allocations: 2.243 MB / 0.7705 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003259/0.8065, allocations: 1.702 MB / 0.7722 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of SimCode: time 1.703e-06/0.8065, allocations: 0 / 0.7722 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/0.9135, allocations: 51.86 MB / 0.8228 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/19.46, allocations: 7.938 kB / 0.8228 GB, free: 1.91 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 22.672271338291466]