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.001589/0.001589, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.001742/0.001742, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.469/1.469, allocations: 227.4 MB / 252.3 MB, free: 276 kB / 190.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.2476/0.2476, allocations: 46.17 MB / 351.8 MB, free: 14.33 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: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 90.25 kB / 490.9 MB, free: 28.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1296, allocations: 62.45 MB / 0.5404 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01602/0.1456, allocations: 11.92 MB / 0.552 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009207/0.1549, allocations: 4.074 MB / 0.556 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.1578, allocations: 75.88 kB / 0.556 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.1618, allocations: 1.666 MB / 0.5577 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.166, allocations: 1.518 MB / 0.5591 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1686, allocations: 1.177 MB / 0.5603 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00566/0.1742, allocations: 3.506 MB / 0.5637 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.1776, allocations: 2.457 MB / 0.5661 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.1794, allocations: 1.148 MB / 0.5672 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.1816, allocations: 1.569 MB / 0.5688 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005554/0.1822, allocations: 236 kB / 0.569 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.1836, allocations: 0.7099 MB / 0.5697 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.1852, allocations: 1.543 MB / 0.5712 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.1874, allocations: 1.859 MB / 0.573 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007672/0.1951, allocations: 6.15 MB / 0.579 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1951, allocations: 0 / 0.579 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1952, allocations: 0 / 0.579 GB, free: 12.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001662/0.1953, allocations: 0 / 0.579 GB, free: 12.58 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.007381/0.2027, allocations: 4.09 MB / 0.583 GB, free: 8.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2028, allocations: 8.031 kB / 0.583 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.2131, allocations: 2.997 MB / 0.5859 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/0.2175, allocations: 1.812 MB / 0.5877 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.2177, allocations: 197.1 kB / 0.5879 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000747/0.2185, allocations: 251.8 kB / 0.5881 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.2367, allocations: 10.04 MB / 0.598 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.2368, allocations: 31.69 kB / 0.598 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/0.2373, allocations: 119.8 kB / 0.5981 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00418/0.2415, allocations: 2.318 MB / 0.6004 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.289/0.5305, allocations: 8.926 MB / 0.6091 GB, free: 53.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04345/0.574, allocations: 37.61 MB / 0.6458 GB, free: 27.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004956/0.579, allocations: 3.379 MB / 0.6491 GB, free: 24.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.5804, allocations: 1.226 MB / 0.6503 GB, free: 24.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007828/0.5883, allocations: 5.178 MB / 0.6554 GB, free: 20.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.5883, allocations: 58.17 kB / 0.6554 GB, free: 20.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.458e-06/0.5884, allocations: 0 / 0.6554 GB, free: 20.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.006239/0.5946, allocations: 3.337 MB / 0.6587 GB, free: 19.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.5947, allocations: 169.2 kB / 0.6588 GB, free: 19.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.5992, allocations: 3.836 MB / 0.6626 GB, free: 15.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.5995, allocations: 44.75 kB / 0.6626 GB, free: 15.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.601, allocations: 3.316 MB / 0.6659 GB, free: 12.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.6016, allocations: 0.6336 MB / 0.6665 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.6028, allocations: 1.318 MB / 0.6678 GB, free: 10.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.6029, allocations: 309.1 kB / 0.6681 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.6052, allocations: 1.957 MB / 0.67 GB, free: 8.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.6088, allocations: 6.104 MB / 0.6759 GB, free: 48 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.6202, allocations: 8.8 MB / 0.6845 GB, free: 5.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/0.6204, allocations: 44 kB / 0.6846 GB, free: 5.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01593/0.6363, allocations: 7.724 MB / 0.6921 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.6365, allocations: 68 kB / 0.6922 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/0.6367, allocations: 148.1 kB / 0.6923 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.6369, allocations: 196 kB / 0.6925 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/0.6416, allocations: 1.454 MB / 0.6939 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002861/0.642, allocations: 290.8 kB / 0.6942 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/0.6467, allocations: 0.9345 MB / 0.6951 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009692/0.6477, allocations: 403.9 kB / 0.6955 GB, free: 9.938 MB / 494.1 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.004139/0.6518, allocations: 2.198 MB / 0.6976 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/0.6525, allocations: 329.8 kB / 0.698 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/0.6535, allocations: 403.1 kB / 0.6983 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.459e-05/0.6536, allocations: 43.92 kB / 0.6984 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.6536, allocations: 0 / 0.6984 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6536, allocations: 3.984 kB / 0.6984 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.6644, allocations: 5.474 MB / 0.7037 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.6644, allocations: 8 kB / 0.7037 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.6655, allocations: 199.7 kB / 0.7039 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.6655, allocations: 12.66 kB / 0.7039 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.6656, allocations: 24 kB / 0.704 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/0.6656, allocations: 19.98 kB / 0.704 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.6657, allocations: 7.938 kB / 0.704 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.6691, allocations: 2.55 MB / 0.7065 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/0.67, allocations: 390.5 kB / 0.7069 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.6703, allocations: 27.98 kB / 0.7069 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/0.6713, allocations: 63.86 kB / 0.7069 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.6714, allocations: 84.34 kB / 0.707 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.6716, allocations: 48 kB / 0.7071 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003755/0.6753, allocations: 2.338 MB / 0.7094 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6753, allocations: 0 / 0.7094 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005016/0.6804, allocations: 1.068 MB / 0.7104 GB, free: 10.46 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.0004759/0.6809, allocations: 158.9 kB / 0.7106 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007704/0.6886, allocations: 4.442 MB / 0.7149 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.6886, allocations: 0 / 0.7149 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.6902, allocations: 0.9597 MB / 0.7158 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.6923, allocations: 347.6 kB / 0.7162 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.7083, allocations: 8.863 MB / 0.7248 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/0.7126, allocations: 3.162 MB / 0.7279 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009856/0.7136, allocations: 275.4 kB / 0.7282 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.7136, allocations: 0 / 0.7282 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.08624/0.7999, allocations: 52.84 MB / 0.7798 GB, free: 3.449 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_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: 12.078693596064113]