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.002088/0.002088, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001554/0.001554, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.2397/0.2397, allocations: 46.93 MB / 361.5 MB, free: 3.93 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.002464/0.002464, allocations: 79.86 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3373, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01384/0.3512, allocations: 10.38 MB / 0.5721 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.3605, allocations: 3.907 MB / 0.5759 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.3632, allocations: 83.75 kB / 0.5759 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.367, allocations: 1.647 MB / 0.5776 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.3717, allocations: 1.565 MB / 0.5791 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.3746, allocations: 1.142 MB / 0.5802 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00745/0.3821, allocations: 3.502 MB / 0.5836 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/0.3852, allocations: 1.98 MB / 0.5856 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.3874, allocations: 1.168 MB / 0.5867 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.3898, allocations: 1.658 MB / 0.5883 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005728/0.3904, allocations: 236 kB / 0.5885 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.3918, allocations: 0.6241 MB / 0.5891 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3935, allocations: 1.589 MB / 0.5907 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.3951, allocations: 1.303 MB / 0.592 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007998/0.4031, allocations: 6.183 MB / 0.598 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.4031, allocations: 4 kB / 0.598 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4031, allocations: 0 / 0.598 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001784/0.4033, allocations: 0 / 0.598 GB, free: 14.82 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.008485/0.4118, allocations: 4.007 MB / 0.6019 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4118, allocations: 12.03 kB / 0.6019 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.422, allocations: 2.997 MB / 0.6049 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005394/0.4274, allocations: 1.775 MB / 0.6066 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.4276, allocations: 193.1 kB / 0.6068 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008156/0.4284, allocations: 247.8 kB / 0.607 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.4461, allocations: 10.04 MB / 0.6168 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.901e-05/0.4461, allocations: 31.69 kB / 0.6169 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/0.4466, allocations: 119.8 kB / 0.617 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003899/0.4505, allocations: 2.318 MB / 0.6192 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.468, allocations: 8.921 MB / 0.6279 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05287/0.5208, allocations: 35.03 MB / 0.6621 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005562/0.5264, allocations: 2.343 MB / 0.6644 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.5283, allocations: 1.142 MB / 0.6656 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009381/0.5376, allocations: 4.461 MB / 0.6699 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5377, allocations: 47.22 kB / 0.67 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.859e-06/0.5377, allocations: 0 / 0.67 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.00726/0.545, allocations: 3.313 MB / 0.6732 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.5451, allocations: 174.9 kB / 0.6734 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/0.5508, allocations: 3.756 MB / 0.677 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.5509, allocations: 41.7 kB / 0.6771 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002816/0.5538, allocations: 3.337 MB / 0.6803 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008934/0.5547, allocations: 0.6359 MB / 0.6809 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001838/0.5565, allocations: 1.31 MB / 0.6822 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5567, allocations: 353.9 kB / 0.6826 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.5598, allocations: 1.949 MB / 0.6845 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007037/0.5669, allocations: 6.108 MB / 0.6904 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.5793, allocations: 8.791 MB / 0.699 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/0.5795, allocations: 48 kB / 0.6991 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01638/0.5959, allocations: 7.696 MB / 0.7066 GB, free: 9.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.596, allocations: 70.97 kB / 0.7066 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/0.5962, allocations: 151.9 kB / 0.7068 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.5964, allocations: 192 kB / 0.707 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/0.601, allocations: 1.458 MB / 0.7084 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002685/0.6013, allocations: 286.9 kB / 0.7087 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/0.6062, allocations: 0.8958 MB / 0.7095 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007665/0.6069, allocations: 408.2 kB / 0.7099 GB, free: 5.922 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.003912/0.6109, allocations: 2.199 MB / 0.7121 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/0.6114, allocations: 294 kB / 0.7124 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/0.6122, allocations: 388.7 kB / 0.7127 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-05/0.6122, allocations: 35.98 kB / 0.7128 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6122, allocations: 0 / 0.7128 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6123, allocations: 7.984 kB / 0.7128 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008695/0.6209, allocations: 4.339 MB / 0.717 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.621, allocations: 8 kB / 0.717 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009328/0.6219, allocations: 200.3 kB / 0.7172 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.6219, allocations: 15.94 kB / 0.7172 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.622, allocations: 31.98 kB / 0.7173 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-05/0.622, allocations: 23.86 kB / 0.7173 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.622, allocations: 7.938 kB / 0.7173 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.6254, allocations: 2.513 MB / 0.7197 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/0.6261, allocations: 281.6 kB / 0.72 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.6263, allocations: 24 kB / 0.72 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.6273, allocations: 71.86 kB / 0.7201 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.6274, allocations: 92.16 kB / 0.7202 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/0.6275, allocations: 44 kB / 0.7202 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003218/0.6308, allocations: 2.095 MB / 0.7223 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6308, allocations: 0 / 0.7223 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006034/0.6368, allocations: 1.099 MB / 0.7233 GB, free: 7.965 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.0005267/0.6373, allocations: 151.1 kB / 0.7235 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007976/0.6453, allocations: 4.262 MB / 0.7277 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.6453, allocations: 4 kB / 0.7277 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6466, allocations: 0.8744 MB / 0.7285 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.6486, allocations: 285.7 kB / 0.7288 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.306/0.9546, allocations: 8.828 MB / 0.7374 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/0.9576, allocations: 2.621 MB / 0.74 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.9584, allocations: 264.4 kB / 0.7402 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/0.9584, allocations: 1.281 kB / 0.7402 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06661/1.025, allocations: 52.83 MB / 0.7918 GB, free: 103.7 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/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: 11.99968831334263]