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.001821/0.001821, allocations: 79.89 kB / 21.24 MB, free: 0.543 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.002208/0.002208, allocations: 162.8 kB / 24.5 MB, free: 3.719 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.506/1.506, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 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.239/0.239, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.002501/0.002501, allocations: 79.88 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3177, allocations: 66.07 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009806/0.3275, allocations: 11.08 MB / 0.5081 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.3351, allocations: 4.295 MB / 0.5123 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.3367, allocations: 104.6 kB / 0.5124 GB, free: 19.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006226/0.3429, allocations: 3.61 MB / 0.5159 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.3484, allocations: 2.249 MB / 0.5181 GB, free: 17.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.3506, allocations: 0.9991 MB / 0.5191 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009761/0.3603, allocations: 6.047 MB / 0.525 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004404/0.3647, allocations: 3.487 MB / 0.5284 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.3682, allocations: 1.984 MB / 0.5303 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004595/0.3728, allocations: 2.652 MB / 0.5329 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009882/0.3738, allocations: 412.7 kB / 0.5333 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.3766, allocations: 1.341 MB / 0.5346 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.3785, allocations: 2.49 MB / 0.5371 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.3805, allocations: 2.01 MB / 0.539 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007783/0.3883, allocations: 8.673 MB / 0.5475 GB, free: 2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3883, allocations: 0 / 0.5475 GB, free: 2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3883, allocations: 3.938 kB / 0.5475 GB, free: 1.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001788/0.3885, allocations: 0 / 0.5475 GB, free: 1.996 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01236/0.4008, allocations: 6.088 MB / 0.5534 GB, free: 11.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4009, allocations: 12.02 kB / 0.5534 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.4129, allocations: 2.657 MB / 0.556 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.4229, allocations: 3.676 MB / 0.5596 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.4232, allocations: 279.5 kB / 0.5599 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.4246, allocations: 387.7 kB / 0.5603 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.4509, allocations: 11.65 MB / 0.5717 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002915/0.4512, allocations: 59.52 kB / 0.5717 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.4526, allocations: 183.8 kB / 0.5719 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00416/0.4567, allocations: 2.143 MB / 0.574 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/0.4798, allocations: 9.601 MB / 0.5834 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06478/0.5446, allocations: 42.93 MB / 0.6253 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.5556, allocations: 3.502 MB / 0.6287 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/0.5588, allocations: 2 MB / 0.6307 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.5716, allocations: 5.706 MB / 0.6362 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.5717, allocations: 51.5 kB / 0.6363 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.849e-06/0.5717, allocations: 0 / 0.6363 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.05077/0.6224, allocations: 17.05 MB / 0.6529 GB, free: 3.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.6226, allocations: 205.1 kB / 0.6531 GB, free: 3.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007589/0.6302, allocations: 4.802 MB / 0.6578 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/0.6305, allocations: 53.69 kB / 0.6579 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003196/0.6337, allocations: 3.875 MB / 0.6616 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009248/0.6346, allocations: 0.6941 MB / 0.6623 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/0.6366, allocations: 1.432 MB / 0.6637 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6368, allocations: 301.1 kB / 0.664 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/0.6404, allocations: 2.309 MB / 0.6663 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007401/0.6478, allocations: 6.633 MB / 0.6727 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/0.6605, allocations: 9.554 MB / 0.6821 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/0.6607, allocations: 44 kB / 0.6821 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01871/0.6794, allocations: 9.569 MB / 0.6915 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.781e-05/0.6795, allocations: 73 kB / 0.6915 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.6796, allocations: 148 kB / 0.6917 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003293/0.6829, allocations: 1.214 MB / 0.6928 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004958/0.6879, allocations: 1.571 MB / 0.6944 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2449/0.9327, allocations: 7.999 MB / 0.7022 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/0.9378, allocations: 368.8 kB / 0.7025 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.9388, allocations: 423 kB / 0.703 GB, free: 155.5 MB / 0.5919 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.004149/0.943, allocations: 2.465 MB / 0.7054 GB, free: 154.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007314/0.9437, allocations: 401.8 kB / 0.7057 GB, free: 154.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005475/0.9492, allocations: 3.348 MB / 0.709 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.9492, allocations: 18.94 kB / 0.709 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.9492, allocations: 8.688 kB / 0.709 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.9493, allocations: 14.2 kB / 0.7091 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.9616, allocations: 7.006 MB / 0.7159 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.9616, allocations: 4.625 kB / 0.7159 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.9632, allocations: 306.5 kB / 0.7162 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.9664, allocations: 0.9799 MB / 0.7171 GB, free: 151 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.9666, allocations: 34.92 kB / 0.7172 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/0.9752, allocations: 7.361 MB / 0.7244 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.9752, allocations: 5.438 kB / 0.7244 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.9861, allocations: 5.806 MB / 0.73 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.9875, allocations: 367 kB / 0.7304 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.988, allocations: 31.31 kB / 0.7304 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.9895, allocations: 92.83 kB / 0.7305 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/0.9898, allocations: 105.8 kB / 0.7306 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.99, allocations: 45.8 kB / 0.7307 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0054/0.9954, allocations: 2.816 MB / 0.7334 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9954, allocations: 0 / 0.7334 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006607/1.002, allocations: 1.13 MB / 0.7345 GB, free: 143.3 MB / 0.5919 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.0004201/1.002, allocations: 162.5 kB / 0.7347 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008313/1.011, allocations: 5.376 MB / 0.7399 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/1.011, allocations: 1.969 kB / 0.7399 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.013, allocations: 1.527 MB / 0.7414 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.016, allocations: 0.4969 MB / 0.7419 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.032, allocations: 10.9 MB / 0.7525 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/1.035, allocations: 3.25 MB / 0.7557 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00401/1.039, allocations: 2.033 MB / 0.7577 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006324/1.04, allocations: 259.9 kB / 0.7579 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.04, allocations: 0 / 0.7579 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.06231/1.102, allocations: 35.47 MB / 0.7926 GB, free: 100.8 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/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.3106208650860935]