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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008022/0.0008022, allocations: 95.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 208.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 46.18 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002738, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 63.56 MB / 483.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3236/0.443, allocations: 63.11 MB / 0.534 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03018/0.4732, allocations: 12.93 MB / 0.5467 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0141/0.4874, allocations: 282.6 kB / 0.5469 GB, free: 388 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.4896, allocations: 0.4893 MB / 0.5474 GB, free: 188 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.4958, allocations: 2.058 MB / 0.5494 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.4985, allocations: 0.8135 MB / 0.5502 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01257/0.5111, allocations: 8.663 MB / 0.5587 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009459/0.5206, allocations: 6.063 MB / 0.5646 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.5236, allocations: 1.439 MB / 0.566 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/0.5282, allocations: 2.433 MB / 0.5684 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007427/0.5289, allocations: 164 kB / 0.5685 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.5316, allocations: 1.291 MB / 0.5698 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.5339, allocations: 2.158 MB / 0.5719 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002661/0.5365, allocations: 2.4 MB / 0.5742 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006585/0.5431, allocations: 6.621 MB / 0.5807 GB, free: 3.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5432, allocations: 0 / 0.5807 GB, free: 3.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5432, allocations: 0 / 0.5807 GB, free: 3.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002119/0.5434, allocations: 0 / 0.5807 GB, free: 3.203 MB / 414.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.01017/0.5536, allocations: 4.948 MB / 0.5855 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5536, allocations: 8.031 kB / 0.5855 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.5653, allocations: 2.603 MB / 0.5881 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.5726, allocations: 3.664 MB / 0.5917 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.5729, allocations: 283.5 kB / 0.5919 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008243/0.5737, allocations: 383.6 kB / 0.5923 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/0.5926, allocations: 11.62 MB / 0.6036 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.5928, allocations: 67.39 kB / 0.6037 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004506/0.5933, allocations: 179.8 kB / 0.6039 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/0.5968, allocations: 2.139 MB / 0.606 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/0.615, allocations: 9.633 MB / 0.6154 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0522/0.6672, allocations: 45.86 MB / 0.6602 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.6773, allocations: 3.925 MB / 0.664 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002792/0.6802, allocations: 2.158 MB / 0.6661 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.6904, allocations: 6.534 MB / 0.6725 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.6905, allocations: 43.56 kB / 0.6725 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=154): time 4.979e-06/0.6905, allocations: 0 / 0.6725 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.04587/0.7364, allocations: 16.45 MB / 0.6886 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.7366, allocations: 204.9 kB / 0.6888 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00773/0.7443, allocations: 5.599 MB / 0.6943 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/0.7446, allocations: 57.62 kB / 0.6943 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002466/0.7471, allocations: 3.689 MB / 0.6979 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007413/0.7479, allocations: 0.6675 MB / 0.6986 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/0.7486, allocations: 0.6068 MB / 0.6992 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.7487, allocations: 301.1 kB / 0.6994 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.7519, allocations: 2.313 MB / 0.7017 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.231/0.9829, allocations: 6.576 MB / 0.7081 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.9938, allocations: 9.56 MB / 0.7175 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002904/0.9942, allocations: 43.34 kB / 0.7175 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02026/1.014, allocations: 9.612 MB / 0.7269 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/1.015, allocations: 73.94 kB / 0.727 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003763/1.015, allocations: 151.8 kB / 0.7271 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/1.019, allocations: 1.216 MB / 0.7283 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/1.024, allocations: 1.581 MB / 0.7298 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008043/1.032, allocations: 7.756 MB / 0.7374 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/1.037, allocations: 371.2 kB / 0.7378 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/1.039, allocations: 427.8 kB / 0.7382 GB, free: 159.5 MB / 0.5294 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.004714/1.043, allocations: 2.456 MB / 0.7406 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008093/1.044, allocations: 454.9 kB / 0.741 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/1.05, allocations: 3.429 MB / 0.7443 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.05, allocations: 21.91 kB / 0.7444 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.05, allocations: 11.31 kB / 0.7444 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.05, allocations: 7.266 kB / 0.7444 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.062, allocations: 8.198 MB / 0.7524 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.062, allocations: 3.938 kB / 0.7524 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.063, allocations: 299.5 kB / 0.7527 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/1.066, allocations: 0.9816 MB / 0.7536 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.066, allocations: 31.98 kB / 0.7537 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/1.072, allocations: 7.097 MB / 0.7606 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.072, allocations: 8.062 kB / 0.7606 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007396/1.08, allocations: 5.868 MB / 0.7663 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.081, allocations: 0.5264 MB / 0.7669 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/1.082, allocations: 31.92 kB / 0.7669 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.083, allocations: 96.44 kB / 0.767 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/1.083, allocations: 100.8 kB / 0.7671 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.083, allocations: 45.56 kB / 0.7671 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00463/1.088, allocations: 3.587 MB / 0.7706 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.088, allocations: 0 / 0.7706 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005789/1.094, allocations: 1.149 MB / 0.7717 GB, free: 132 MB / 0.5294 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.0004185/1.094, allocations: 175 kB / 0.7719 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007701/1.102, allocations: 5.566 MB / 0.7773 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.102, allocations: 0 / 0.7773 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.104, allocations: 1.62 MB / 0.7789 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005399/1.109, allocations: 0.5591 MB / 0.7795 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.127, allocations: 13.6 MB / 0.7928 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/1.13, allocations: 3.745 MB / 0.7964 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.131, allocations: 335.4 kB / 0.7967 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/1.131, allocations: 4 kB / 0.7967 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.3286/1.46, allocations: 110.7 MB / 0.9048 GB, free: 178.8 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches