Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001293, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.64 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01768/0.1382, allocations: 15.7 MB / 485.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1499, allocations: 5.096 MB / 490.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.1534, allocations: 107.7 kB / 490.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009558/0.163, allocations: 5.035 MB / 495.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.1699, allocations: 2.597 MB / 498.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.173, allocations: 1.248 MB / 499.7 MB, free: 484 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.1836, allocations: 7.905 MB / 0.4957 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007448/0.1911, allocations: 6.014 MB / 0.5016 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2258/0.417, allocations: 2.552 MB / 0.5041 GB, free: 18.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00704/0.4241, allocations: 3.487 MB / 0.5075 GB, free: 18.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003021/0.4271, allocations: 0.5476 MB / 0.508 GB, free: 18.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/0.433, allocations: 1.58 MB / 0.5096 GB, free: 18.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006443/0.4395, allocations: 3.222 MB / 0.5127 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.4502, allocations: 3.576 MB / 0.5162 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.4661, allocations: 10.84 MB / 0.5268 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.4661, allocations: 4.594 kB / 0.5268 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4661, allocations: 0.5312 kB / 0.5268 GB, free: 14.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005299/0.4667, allocations: 0 / 0.5268 GB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02372/0.4904, allocations: 7.669 MB / 0.5343 GB, free: 9.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4905, allocations: 8.688 kB / 0.5343 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.5061, allocations: 3.112 MB / 0.5373 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.5168, allocations: 4.875 MB / 0.5421 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.5171, allocations: 372.7 kB / 0.5425 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.5191, allocations: 0.4892 MB / 0.5429 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03073/0.5498, allocations: 14.81 MB / 0.5574 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/0.5501, allocations: 78.47 kB / 0.5575 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/0.5515, allocations: 232.7 kB / 0.5577 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004963/0.5564, allocations: 2.718 MB / 0.5604 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/0.5832, allocations: 12.24 MB / 0.5723 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07631/0.6596, allocations: 57.17 MB / 0.6281 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.6723, allocations: 4.693 MB / 0.6327 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0041/0.6764, allocations: 2.937 MB / 0.6356 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.6766, allocations: 33.34 kB / 0.6356 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.6767, allocations: 57.53 kB / 0.6357 GB, free: 6.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=190): time 4.679e-06/0.6767, allocations: 0 / 0.6357 GB, free: 6.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=208): time 0.06445/0.7411, allocations: 23.44 MB / 0.6586 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.7413, allocations: 252.8 kB / 0.6588 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/0.7529, allocations: 6.773 MB / 0.6654 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00055/0.7535, allocations: 61.17 kB / 0.6655 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003898/0.7574, allocations: 4.596 MB / 0.67 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.7588, allocations: 0.832 MB / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00288/0.7616, allocations: 1.689 MB / 0.6724 GB, free: 180 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7618, allocations: 309.1 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/0.7665, allocations: 2.901 MB / 0.6756 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008412/0.7749, allocations: 7.853 MB / 0.6832 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/0.7882, allocations: 11.52 MB / 0.6945 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/0.7884, allocations: 48 kB / 0.6945 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.2421/1.03, allocations: 11.97 MB / 0.7062 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/1.031, allocations: 79.62 kB / 0.7063 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003379/1.031, allocations: 176.2 kB / 0.7065 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005465/1.037, allocations: 1.77 MB / 0.7082 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00786/1.044, allocations: 1.93 MB / 0.7101 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.058, allocations: 12.41 MB / 0.7222 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008285/1.066, allocations: 455.4 kB / 0.7226 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.068, allocations: 490.6 kB / 0.7231 GB, free: 167.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1003): * Single equations (assignments): 997 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006668/1.075, allocations: 3.047 MB / 0.7261 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.076, allocations: 0.5455 MB / 0.7266 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009195/1.085, allocations: 4.852 MB / 0.7313 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/1.085, allocations: 29.27 kB / 0.7314 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.613e-05/1.085, allocations: 7.688 kB / 0.7314 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.086, allocations: 14.39 kB / 0.7314 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/1.107, allocations: 11.23 MB / 0.7423 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.107, allocations: 3.938 kB / 0.7423 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/1.109, allocations: 403.5 kB / 0.7427 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/1.113, allocations: 1.474 MB / 0.7442 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004574/1.114, allocations: 36 kB / 0.7442 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.125, allocations: 11.49 MB / 0.7554 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.125, allocations: 7.969 kB / 0.7554 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.136, allocations: 7.937 MB / 0.7632 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.137, allocations: 0.6149 MB / 0.7638 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.138, allocations: 33.88 kB / 0.7638 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.141, allocations: 131.8 kB / 0.7639 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/1.141, allocations: 121.3 kB / 0.7641 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.141, allocations: 49.2 kB / 0.7641 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007764/1.149, allocations: 4.329 MB / 0.7683 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.149, allocations: 0 / 0.7683 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008935/1.158, allocations: 1.49 MB / 0.7698 GB, free: 132.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (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.0006619/1.159, allocations: 172.8 kB / 0.77 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.17, allocations: 7.968 MB / 0.7777 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.17, allocations: 0 / 0.7777 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/1.173, allocations: 2.274 MB / 0.78 GB, free: 122 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.178, allocations: 0.785 MB / 0.7807 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/1.201, allocations: 14.63 MB / 0.795 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004476/1.206, allocations: 4.599 MB / 0.7995 GB, free: 102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.207, allocations: 403.4 kB / 0.7999 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/1.207, allocations: 0 / 0.7999 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.4222/1.629, allocations: 169.2 MB / 0.9652 GB, free: 124.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches