Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.001594/0.001594, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001539/0.001539, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2293/0.2293, allocations: 46.95 MB / 360.8 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 83.86 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3533, allocations: 66.08 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.015/0.3683, allocations: 11.08 MB / 0.572 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.3784, allocations: 4.291 MB / 0.5762 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.381, allocations: 107.4 kB / 0.5763 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008376/0.3893, allocations: 3.602 MB / 0.5798 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00702/0.3964, allocations: 2.257 MB / 0.582 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.3992, allocations: 1.002 MB / 0.583 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009685/0.4088, allocations: 6.042 MB / 0.5889 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006495/0.4153, allocations: 3.489 MB / 0.5923 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004439/0.4198, allocations: 1.982 MB / 0.5942 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.4255, allocations: 2.663 MB / 0.5968 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.4278, allocations: 408 kB / 0.5972 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.432, allocations: 1.338 MB / 0.5985 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004503/0.4365, allocations: 2.485 MB / 0.601 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005855/0.4424, allocations: 2.011 MB / 0.6029 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.4579, allocations: 8.677 MB / 0.6114 GB, free: 324 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4579, allocations: 0 / 0.6114 GB, free: 324 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4579, allocations: 3.938 kB / 0.6114 GB, free: 320 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003649/0.4582, allocations: 0 / 0.6114 GB, free: 320 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01921/0.4775, allocations: 6.076 MB / 0.6173 GB, free: 10.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4775, allocations: 12.03 kB / 0.6173 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.4906, allocations: 2.571 MB / 0.6199 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.5027, allocations: 3.676 MB / 0.6234 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.5031, allocations: 275.5 kB / 0.6237 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.5048, allocations: 383.7 kB / 0.6241 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.5301, allocations: 11.64 MB / 0.6354 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002131/0.5303, allocations: 59.53 kB / 0.6355 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.5315, allocations: 179.8 kB / 0.6357 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004113/0.5357, allocations: 2.158 MB / 0.6378 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02204/0.5577, allocations: 9.582 MB / 0.6471 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06289/0.6206, allocations: 42.78 MB / 0.6889 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.6311, allocations: 3.337 MB / 0.6922 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/0.6346, allocations: 2.004 MB / 0.6941 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/0.6494, allocations: 5.64 MB / 0.6996 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.6495, allocations: 51.5 kB / 0.6997 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 6.092e-06/0.6495, allocations: 0 / 0.6997 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.0524/0.7019, allocations: 16.51 MB / 0.7158 GB, free: 2.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.7021, allocations: 204.8 kB / 0.716 GB, free: 2.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009885/0.712, allocations: 4.81 MB / 0.7207 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003947/0.7124, allocations: 45.7 kB / 0.7207 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003587/0.7159, allocations: 3.867 MB / 0.7245 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.717, allocations: 0.7019 MB / 0.7252 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002801/0.7198, allocations: 1.421 MB / 0.7266 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7199, allocations: 305.1 kB / 0.7269 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/0.7239, allocations: 2.313 MB / 0.7291 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2998/1.024, allocations: 6.626 MB / 0.7356 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.034, allocations: 9.565 MB / 0.745 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002309/1.034, allocations: 45.25 kB / 0.745 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01443/1.049, allocations: 9.561 MB / 0.7543 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.049, allocations: 71.38 kB / 0.7544 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.049, allocations: 151.5 kB / 0.7545 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/1.052, allocations: 1.208 MB / 0.7557 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.056, allocations: 1.572 MB / 0.7573 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/1.064, allocations: 8.008 MB / 0.7651 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/1.069, allocations: 361.3 kB / 0.7654 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009271/1.07, allocations: 425.4 kB / 0.7658 GB, free: 127.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00344/1.074, allocations: 2.459 MB / 0.7682 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007133/1.074, allocations: 398.9 kB / 0.7686 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/1.079, allocations: 3.355 MB / 0.7719 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.079, allocations: 20 kB / 0.7719 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.079, allocations: 6.562 kB / 0.7719 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.079, allocations: 7.969 kB / 0.7719 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/1.092, allocations: 7.003 MB / 0.7788 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.092, allocations: 0 / 0.7788 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.094, allocations: 299.5 kB / 0.779 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.096, allocations: 0.988 MB / 0.78 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.096, allocations: 26.34 kB / 0.78 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007403/1.104, allocations: 7.375 MB / 0.7872 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.104, allocations: 8.062 kB / 0.7872 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/1.111, allocations: 5.803 MB / 0.7929 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.112, allocations: 366.5 kB / 0.7933 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007344/1.113, allocations: 29.97 kB / 0.7933 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.115, allocations: 95.88 kB / 0.7934 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.115, allocations: 100.8 kB / 0.7935 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.115, allocations: 55.77 kB / 0.7935 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003332/1.118, allocations: 2.811 MB / 0.7963 GB, free: 97.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.118, allocations: 0 / 0.7963 GB, free: 97.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005298/1.124, allocations: 1.133 MB / 0.7974 GB, free: 96.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003998/1.124, allocations: 157.1 kB / 0.7975 GB, free: 96.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006848/1.131, allocations: 5.369 MB / 0.8028 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.131, allocations: 0 / 0.8028 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.132, allocations: 1.529 MB / 0.8043 GB, free: 89.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/1.135, allocations: 0.5036 MB / 0.8048 GB, free: 89.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.15, allocations: 10.89 MB / 0.8154 GB, free: 78.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.154, allocations: 3.254 MB / 0.8186 GB, free: 74.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004122/1.158, allocations: 2.034 MB / 0.8206 GB, free: 72.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/1.158, allocations: 255.4 kB / 0.8208 GB, free: 72.51 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/1.158, allocations: 3.938 kB / 0.8208 GB, free: 72.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.06522/1.224, allocations: 40.87 MB / 0.8607 GB, free: 32.19 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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: 7.602775366976857]