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.0008541/0.0008541, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008173/0.0008173, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8827/0.8827, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2239/0.2239, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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 1.132e-06/1.132e-06, allocations: 3.938 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.597e-05, allocations: 6.219 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1712/0.1712, allocations: 10.41 MB / 452.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.1752, allocations: 3.909 MB / 456.5 MB, free: 35.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.1758, allocations: 87.56 kB / 456.5 MB, free: 35.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.1773, allocations: 1.703 MB / 458.3 MB, free: 35.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.1788, allocations: 1.613 MB / 459.9 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008812/0.1797, allocations: 1.205 MB / 461.1 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.1815, allocations: 3.569 MB / 464.6 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.1826, allocations: 1.998 MB / 466.6 MB, free: 31.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009083/0.1835, allocations: 1.719 MB / 468.4 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009312/0.1844, allocations: 1.613 MB / 470 MB, free: 30.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.1846, allocations: 239.6 kB / 470.2 MB, free: 30.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.1852, allocations: 0.6846 MB / 470.9 MB, free: 30.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006284/0.1858, allocations: 1.637 MB / 472.5 MB, free: 29.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004789/0.1863, allocations: 0.9493 MB / 473.5 MB, free: 29.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.1888, allocations: 6.032 MB / 479.5 MB, free: 27.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1888, allocations: 0 / 479.5 MB, free: 27.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1888, allocations: 0 / 479.5 MB, free: 27.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.955e-05/0.1888, allocations: 3.938 kB / 479.5 MB, free: 27.03 MB / 410.7 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.003499/0.1923, allocations: 3.956 MB / 483.5 MB, free: 24.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1924, allocations: 13.69 kB / 483.5 MB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006004/0.193, allocations: 0.7146 MB / 484.2 MB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.1989, allocations: 3.029 MB / 487.2 MB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.2014, allocations: 1.767 MB / 489 MB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.2015, allocations: 197.1 kB / 489.2 MB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.2019, allocations: 245.4 kB / 489.4 MB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/0.211, allocations: 10.06 MB / 499.5 MB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.2111, allocations: 27.09 kB / 499.5 MB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.2113, allocations: 126.2 kB / 499.6 MB, free: 18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002164/0.2135, allocations: 2.312 MB / 0.4902 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/0.2218, allocations: 8.927 MB / 0.4989 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/0.2444, allocations: 36.11 MB / 0.5342 GB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.2475, allocations: 2.42 MB / 0.5365 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.2486, allocations: 1.128 MB / 0.5376 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0049/0.2535, allocations: 4.579 MB / 0.5421 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2535, allocations: 47.22 kB / 0.5421 GB, free: 13.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 3.085e-06/0.2535, allocations: 4 kB / 0.5421 GB, free: 13.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.00408/0.2576, allocations: 3.455 MB / 0.5455 GB, free: 10.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.2577, allocations: 171.2 kB / 0.5457 GB, free: 10.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.261, allocations: 4.085 MB / 0.5497 GB, free: 5.977 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.2611, allocations: 41.7 kB / 0.5497 GB, free: 5.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.2625, allocations: 3.282 MB / 0.5529 GB, free: 2.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.2628, allocations: 0.6204 MB / 0.5535 GB, free: 1.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.2638, allocations: 1.294 MB / 0.5548 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.2639, allocations: 309.1 kB / 0.5551 GB, free: 388 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.2656, allocations: 1.953 MB / 0.557 GB, free: 14.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.269, allocations: 6.112 MB / 0.563 GB, free: 6.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005773/0.2748, allocations: 8.783 MB / 0.5715 GB, free: 11.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.785e-05/0.2749, allocations: 44 kB / 0.5716 GB, free: 11.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.007035/0.2819, allocations: 7.725 MB / 0.5791 GB, free: 3.613 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.282, allocations: 68 kB / 0.5792 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.594e-05/0.282, allocations: 148 kB / 0.5793 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.2822, allocations: 199.8 kB / 0.5795 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/0.2844, allocations: 1.458 MB / 0.5809 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001257/0.2845, allocations: 290.9 kB / 0.5812 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.2867, allocations: 0.9345 MB / 0.5821 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005449/0.2872, allocations: 400 kB / 0.5825 GB, free: 136 kB / 490.7 MB 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.002163/0.2894, allocations: 2.208 MB / 0.5847 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.2896, allocations: 321.8 kB / 0.585 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.29, allocations: 407.1 kB / 0.5854 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/0.2901, allocations: 39.92 kB / 0.5854 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.2901, allocations: 0 / 0.5854 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2901, allocations: 3.984 kB / 0.5854 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.2953, allocations: 5.306 MB / 0.5906 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.2953, allocations: 8.875 kB / 0.5906 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.2957, allocations: 203.7 kB / 0.5908 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.2958, allocations: 12.84 kB / 0.5908 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.2958, allocations: 31.97 kB / 0.5908 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.2958, allocations: 23.88 kB / 0.5909 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2958, allocations: 11.88 kB / 0.5909 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.2976, allocations: 2.534 MB / 0.5933 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.2978, allocations: 305.5 kB / 0.5936 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.298, allocations: 27.98 kB / 0.5937 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.2985, allocations: 67.92 kB / 0.5937 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2986, allocations: 92.11 kB / 0.5938 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.2986, allocations: 44 kB / 0.5939 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001945/0.3006, allocations: 2.338 MB / 0.5961 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.3006, allocations: 0 / 0.5961 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002576/0.3031, allocations: 1.072 MB / 0.5972 GB, free: 0.8984 MB / 0.4948 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.002091/0.3052, allocations: 3.169 MB / 0.6003 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003956/0.3092, allocations: 4.256 MB / 0.6044 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3092, allocations: 3.938 kB / 0.6044 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.3099, allocations: 0.8772 MB / 0.6053 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.311, allocations: 356 kB / 0.6056 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/0.5203, allocations: 41.54 MB / 0.6462 GB, free: 164.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/0.5227, allocations: 2.612 MB / 0.6488 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00308/0.5257, allocations: 2.229 MB / 0.6509 GB, free: 164.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/0.5276, allocations: 1.665 MB / 0.6526 GB, free: 163.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.734e-06/0.5276, allocations: 0 / 0.6526 GB, free: 163.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07391/0.6015, allocations: 49.9 MB / 0.7013 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.121/9.723, allocations: 12 kB / 0.7013 GB, free: 144.7 MB / 0.5417 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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: 11.787374597974122]