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.001508/0.001508, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001647/0.001647, allocations: 211 kB / 24.53 MB, free: 4.07 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2358/0.2358, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.002314/0.002314, allocations: 87.84 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3245, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01464/0.3392, allocations: 12 MB / 0.5732 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009393/0.3486, allocations: 4.113 MB / 0.5772 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3512, allocations: 87.69 kB / 0.5773 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.3552, allocations: 1.701 MB / 0.579 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.3605, allocations: 1.557 MB / 0.5805 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.3642, allocations: 1.208 MB / 0.5817 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007048/0.3712, allocations: 3.505 MB / 0.5851 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.3743, allocations: 2 MB / 0.587 GB, free: 10 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.3767, allocations: 1.168 MB / 0.5882 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.3797, allocations: 1.729 MB / 0.5899 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008286/0.3805, allocations: 240 kB / 0.5901 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.3822, allocations: 0.7372 MB / 0.5908 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.3839, allocations: 1.593 MB / 0.5924 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.3861, allocations: 1.859 MB / 0.5942 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008089/0.3942, allocations: 6.153 MB / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3942, allocations: 0 / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3942, allocations: 0 / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002241/0.3944, allocations: 0 / 0.6002 GB, free: 12.48 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.008383/0.4028, allocations: 4.015 MB / 0.6041 GB, free: 8.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4028, allocations: 8.031 kB / 0.6041 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001357/0.403, allocations: 97.11 kB / 0.6042 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/0.404, allocations: 0.7125 MB / 0.6049 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.4142, allocations: 3.001 MB / 0.6079 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.4187, allocations: 1.759 MB / 0.6096 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.4188, allocations: 192.7 kB / 0.6098 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006975/0.4195, allocations: 243.8 kB / 0.61 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.4367, allocations: 10.04 MB / 0.6198 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.49e-05/0.4368, allocations: 31.69 kB / 0.6198 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007205/0.4375, allocations: 127.8 kB / 0.6199 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004125/0.4416, allocations: 2.31 MB / 0.6222 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/0.4596, allocations: 8.935 MB / 0.6309 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0518/0.5114, allocations: 37.47 MB / 0.6675 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/0.5174, allocations: 2.343 MB / 0.6698 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.5192, allocations: 1.14 MB / 0.6709 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009396/0.5286, allocations: 4.72 MB / 0.6755 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.5287, allocations: 51.22 kB / 0.6756 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.02e-06/0.5287, allocations: 0 / 0.6756 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007328/0.536, allocations: 3.343 MB / 0.6788 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.5361, allocations: 166.9 kB / 0.679 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/0.5423, allocations: 3.837 MB / 0.6827 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.5426, allocations: 41.7 kB / 0.6828 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002815/0.5454, allocations: 3.325 MB / 0.686 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009602/0.5464, allocations: 0.6321 MB / 0.6867 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.5482, allocations: 1.31 MB / 0.6879 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5483, allocations: 305.1 kB / 0.6882 GB, free: 216 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.5513, allocations: 1.953 MB / 0.6901 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00643/0.5577, allocations: 6.112 MB / 0.6961 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.5688, allocations: 8.781 MB / 0.7047 GB, free: 11.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/0.5689, allocations: 44 kB / 0.7047 GB, free: 11.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01526/0.5842, allocations: 7.725 MB / 0.7123 GB, free: 3.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.5843, allocations: 68.22 kB / 0.7123 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/0.5845, allocations: 148 kB / 0.7125 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.5847, allocations: 196 kB / 0.7127 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/0.5894, allocations: 1.454 MB / 0.7141 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002535/0.5897, allocations: 290.9 kB / 0.7143 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/0.5946, allocations: 0.935 MB / 0.7153 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009597/0.5955, allocations: 404 kB / 0.7156 GB, free: 15.95 MB / 0.5606 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.004013/0.5996, allocations: 2.199 MB / 0.7178 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/0.6002, allocations: 321.7 kB / 0.7181 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.6013, allocations: 407.1 kB / 0.7185 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.918e-05/0.6014, allocations: 47.89 kB / 0.7185 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6014, allocations: 4 kB / 0.7185 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.6014, allocations: 3.984 kB / 0.7185 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6123, allocations: 5.442 MB / 0.7239 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.6123, allocations: 4 kB / 0.7239 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6133, allocations: 208.3 kB / 0.7241 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.481e-05/0.6134, allocations: 16 kB / 0.7241 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.6135, allocations: 32.3 kB / 0.7241 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/0.6135, allocations: 15.94 kB / 0.7241 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.6135, allocations: 15.88 kB / 0.7241 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.6168, allocations: 2.542 MB / 0.7266 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/0.6176, allocations: 317.4 kB / 0.7269 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/0.6182, allocations: 27.97 kB / 0.7269 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6192, allocations: 63.92 kB / 0.727 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.6194, allocations: 88.19 kB / 0.7271 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.6195, allocations: 40 kB / 0.7271 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003654/0.6232, allocations: 2.338 MB / 0.7294 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6232, allocations: 0 / 0.7294 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004748/0.6279, allocations: 1.076 MB / 0.7305 GB, free: 0.5625 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.2836/0.9115, allocations: 3.176 MB / 0.7336 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007313/0.9189, allocations: 4.258 MB / 0.7377 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.9189, allocations: 3.969 kB / 0.7377 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009432/0.9198, allocations: 0.8715 MB / 0.7386 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.9217, allocations: 344.3 kB / 0.7389 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/0.9601, allocations: 41.81 MB / 0.7797 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/0.9632, allocations: 3.16 MB / 0.7828 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003882/0.9671, allocations: 2.227 MB / 0.785 GB, free: 104 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.9689, allocations: 1.667 MB / 0.7866 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.9689, allocations: 0 / 0.7866 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08513/1.054, allocations: 56.59 MB / 0.8419 GB, free: 46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.88/22.93, allocations: 8.047 kB / 0.8419 GB, free: 46 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.398812257975806]