Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001322/0.001322, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001446/0.001446, allocations: 212.4 kB / 25.13 MB, free: 3.586 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.442/1.442, allocations: 230.4 MB / 258.7 MB, free: 8.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2287/0.2287, allocations: 46.93 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 79.86 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3804, allocations: 66.07 MB / 0.5623 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01582/0.3962, allocations: 12.61 MB / 0.5747 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.4075, allocations: 4.532 MB / 0.5791 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/0.4114, allocations: 103.5 kB / 0.5792 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008276/0.4196, allocations: 3.761 MB / 0.5828 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.4268, allocations: 2.245 MB / 0.585 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.4296, allocations: 1.006 MB / 0.586 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.4399, allocations: 6.051 MB / 0.5919 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005795/0.4457, allocations: 3.513 MB / 0.5954 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.4498, allocations: 1.99 MB / 0.5973 GB, free: 320 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.4547, allocations: 2.819 MB / 0.6001 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.456, allocations: 408 kB / 0.6005 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.4593, allocations: 1.342 MB / 0.6018 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003251/0.4625, allocations: 2.489 MB / 0.6042 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005561/0.4681, allocations: 2.707 MB / 0.6068 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.4816, allocations: 8.673 MB / 0.6153 GB, free: 13.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4816, allocations: 0 / 0.6153 GB, free: 13.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4816, allocations: 0 / 0.6153 GB, free: 13.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003139/0.4819, allocations: 7.938 kB / 0.6153 GB, free: 13.8 MB / 462.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.01642/0.4983, allocations: 6.08 MB / 0.6213 GB, free: 7.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4984, allocations: 12.03 kB / 0.6213 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.5098, allocations: 2.564 MB / 0.6238 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009184/0.519, allocations: 3.664 MB / 0.6273 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.5192, allocations: 279.5 kB / 0.6276 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.5207, allocations: 383.7 kB / 0.628 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/0.5432, allocations: 11.65 MB / 0.6393 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.5434, allocations: 55.53 kB / 0.6394 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000502/0.5439, allocations: 179.8 kB / 0.6396 GB, free: 3.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.5475, allocations: 2.143 MB / 0.6417 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.5686, allocations: 9.625 MB / 0.6511 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06505/0.6337, allocations: 45.39 MB / 0.6954 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.6437, allocations: 3.338 MB / 0.6987 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003118/0.6468, allocations: 2.013 MB / 0.7006 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.6586, allocations: 6.278 MB / 0.7068 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.6586, allocations: 51.55 kB / 0.7068 GB, free: 13.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 6.582e-06/0.6586, allocations: 3.984 kB / 0.7068 GB, free: 13.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04642/0.7051, allocations: 16.59 MB / 0.723 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.7052, allocations: 196.9 kB / 0.7232 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0092/0.7144, allocations: 5.624 MB / 0.7287 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004262/0.7148, allocations: 45.7 kB / 0.7287 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003314/0.7181, allocations: 3.834 MB / 0.7325 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.7192, allocations: 0.698 MB / 0.7332 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/0.7212, allocations: 1.424 MB / 0.7345 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7214, allocations: 313.1 kB / 0.7348 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3429/1.064, allocations: 2.302 MB / 0.7371 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006408/1.071, allocations: 6.628 MB / 0.7436 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008351/1.079, allocations: 9.574 MB / 0.7529 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.079, allocations: 43.03 kB / 0.753 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01584/1.095, allocations: 9.63 MB / 0.7624 GB, free: 137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.872e-05/1.095, allocations: 75.69 kB / 0.7624 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/1.095, allocations: 151 kB / 0.7626 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/1.098, allocations: 1.218 MB / 0.7638 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004647/1.103, allocations: 1.565 MB / 0.7653 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/1.11, allocations: 8.122 MB / 0.7732 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/1.116, allocations: 369.2 kB / 0.7736 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.117, allocations: 423.7 kB / 0.774 GB, free: 126.3 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.004375/1.122, allocations: 2.47 MB / 0.7764 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.123, allocations: 478.8 kB / 0.7769 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006446/1.129, allocations: 3.415 MB / 0.7802 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/1.129, allocations: 20 kB / 0.7802 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.129, allocations: 4 kB / 0.7802 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.129, allocations: 7.969 kB / 0.7802 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/1.146, allocations: 8.133 MB / 0.7882 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.146, allocations: 0 / 0.7882 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.147, allocations: 300.2 kB / 0.7884 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/1.15, allocations: 0.9837 MB / 0.7894 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/1.15, allocations: 28 kB / 0.7894 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/1.157, allocations: 7.475 MB / 0.7967 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.157, allocations: 4.875 kB / 0.7967 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007827/1.165, allocations: 5.891 MB / 0.8025 GB, free: 97.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.167, allocations: 480.6 kB / 0.8029 GB, free: 96.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.168, allocations: 31.98 kB / 0.803 GB, free: 96.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.17, allocations: 91.33 kB / 0.8031 GB, free: 96.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/1.17, allocations: 108.6 kB / 0.8032 GB, free: 96.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.17, allocations: 48 kB / 0.8032 GB, free: 96.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005123/1.175, allocations: 3.584 MB / 0.8067 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.175, allocations: 0 / 0.8067 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005705/1.181, allocations: 1.152 MB / 0.8078 GB, free: 91.89 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.000405/1.182, allocations: 159.1 kB / 0.808 GB, free: 91.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006964/1.189, allocations: 5.362 MB / 0.8132 GB, free: 86.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.189, allocations: 0 / 0.8132 GB, free: 86.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.19, allocations: 1.533 MB / 0.8147 GB, free: 84.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/1.193, allocations: 0.5946 MB / 0.8153 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.208, allocations: 11 MB / 0.8261 GB, free: 73.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003389/1.212, allocations: 3.766 MB / 0.8297 GB, free: 69.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004132/1.216, allocations: 2.128 MB / 0.8318 GB, free: 67.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007344/1.217, allocations: 291.4 kB / 0.8321 GB, free: 66.95 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.217, allocations: 4 kB / 0.8321 GB, free: 66.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.07603/1.293, allocations: 46.37 MB / 0.8774 GB, free: 20.88 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.556014768080786]