Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001178, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 76.66 kB / 416.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 62.44 MB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3528/0.4888, allocations: 88.29 MB / 0.5543 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05507/0.5439, allocations: 16.98 MB / 0.5709 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02567/0.5697, allocations: 387.1 kB / 0.5712 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.581, allocations: 5.003 MB / 0.5761 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009785/0.5909, allocations: 2.363 MB / 0.5784 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.5954, allocations: 1.155 MB / 0.5795 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01727/0.6127, allocations: 11.38 MB / 0.5907 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.6235, allocations: 5.863 MB / 0.5964 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006021/0.6296, allocations: 2.215 MB / 0.5985 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007817/0.6375, allocations: 3.68 MB / 0.6021 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002798/0.6403, allocations: 384 kB / 0.6025 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.6457, allocations: 1.467 MB / 0.6039 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005809/0.6516, allocations: 3.004 MB / 0.6069 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009815/0.6614, allocations: 3.316 MB / 0.6101 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.6789, allocations: 10.36 MB / 0.6202 GB, free: 6.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.6789, allocations: 0 / 0.6202 GB, free: 6.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6789, allocations: 0 / 0.6202 GB, free: 6.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000463/0.6794, allocations: 0 / 0.6202 GB, free: 6.82 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.02401/0.7034, allocations: 7.49 MB / 0.6275 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.7035, allocations: 12.88 kB / 0.6276 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.72, allocations: 3.038 MB / 0.6305 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/0.7352, allocations: 4.724 MB / 0.6351 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004045/0.7357, allocations: 365.6 kB / 0.6355 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.7384, allocations: 492 kB / 0.6359 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03608/0.7745, allocations: 14.25 MB / 0.6499 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003938/0.7749, allocations: 75.36 kB / 0.6499 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001923/0.7769, allocations: 231.8 kB / 0.6502 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004855/0.7817, allocations: 2.531 MB / 0.6526 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02708/0.8089, allocations: 11.79 MB / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3518/1.161, allocations: 55.89 MB / 0.7187 GB, free: 184.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.174, allocations: 4.674 MB / 0.7233 GB, free: 183.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/1.178, allocations: 2.947 MB / 0.7262 GB, free: 183.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/1.178, allocations: 40.52 kB / 0.7262 GB, free: 183.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.178, allocations: 52.75 kB / 0.7263 GB, free: 183.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 4.478e-06/1.178, allocations: 0 / 0.7263 GB, free: 183.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.06608/1.244, allocations: 23.22 MB / 0.7489 GB, free: 176.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/1.244, allocations: 251.6 kB / 0.7492 GB, free: 175.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.254, allocations: 6.717 MB / 0.7557 GB, free: 173.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006276/1.255, allocations: 56.33 kB / 0.7558 GB, free: 173.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003391/1.258, allocations: 4.471 MB / 0.7602 GB, free: 169.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.261, allocations: 0.8275 MB / 0.761 GB, free: 169.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003554/1.264, allocations: 1.671 MB / 0.7626 GB, free: 168.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.264, allocations: 305.1 kB / 0.7629 GB, free: 168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/1.269, allocations: 2.885 MB / 0.7657 GB, free: 166.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006472/1.276, allocations: 7.785 MB / 0.7733 GB, free: 158.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.287, allocations: 11.43 MB / 0.7845 GB, free: 144.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/1.287, allocations: 48 kB / 0.7845 GB, free: 144.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02345/1.311, allocations: 11.89 MB / 0.7961 GB, free: 132.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/1.311, allocations: 79.94 kB / 0.7962 GB, free: 132.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003023/1.311, allocations: 172 kB / 0.7964 GB, free: 132.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005035/1.316, allocations: 1.769 MB / 0.7981 GB, free: 130.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006263/1.323, allocations: 1.914 MB / 0.8 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/1.335, allocations: 11.54 MB / 0.8112 GB, free: 116.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00784/1.343, allocations: 443.3 kB / 0.8116 GB, free: 116.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/1.345, allocations: 494.3 kB / 0.8121 GB, free: 116 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.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 (994): * Single equations (assignments): 988 * 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.008365/1.353, allocations: 2.957 MB / 0.815 GB, free: 113.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/1.355, allocations: 0.5438 MB / 0.8155 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009918/1.365, allocations: 4.834 MB / 0.8203 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/1.365, allocations: 27.83 kB / 0.8203 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/1.365, allocations: 8 kB / 0.8203 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/1.365, allocations: 11.97 kB / 0.8203 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/1.39, allocations: 11.09 MB / 0.8311 GB, free: 96.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.39, allocations: 0 / 0.8311 GB, free: 96.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.391, allocations: 399.4 kB / 0.8315 GB, free: 96.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/1.395, allocations: 1.473 MB / 0.8329 GB, free: 94.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/1.396, allocations: 36 kB / 0.833 GB, free: 94.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/1.407, allocations: 10.61 MB / 0.8433 GB, free: 83.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.407, allocations: 4.031 kB / 0.8434 GB, free: 83.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.419, allocations: 7.928 MB / 0.8511 GB, free: 75.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.421, allocations: 0.6112 MB / 0.8517 GB, free: 74.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001645/1.422, allocations: 43.98 kB / 0.8517 GB, free: 74.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/1.425, allocations: 139.8 kB / 0.8519 GB, free: 74.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005501/1.426, allocations: 121.2 kB / 0.852 GB, free: 74.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.426, allocations: 55.67 kB / 0.852 GB, free: 74.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008861/1.435, allocations: 4.277 MB / 0.8562 GB, free: 70.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.51e-07/1.435, allocations: 0 / 0.8562 GB, free: 70.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01011/1.445, allocations: 1.454 MB / 0.8576 GB, free: 68.91 MB / 0.545 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.0008646/1.446, allocations: 161.6 kB / 0.8578 GB, free: 68.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.458, allocations: 7.06 MB / 0.8647 GB, free: 61.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.458, allocations: 0 / 0.8647 GB, free: 61.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00348/1.461, allocations: 2.264 MB / 0.8669 GB, free: 59.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/1.468, allocations: 0.7198 MB / 0.8676 GB, free: 58.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.494, allocations: 16.43 MB / 0.8836 GB, free: 42.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008871/1.503, allocations: 4.508 MB / 0.888 GB, free: 37.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008259/1.511, allocations: 2.503 MB / 0.8905 GB, free: 35.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.513, allocations: 351.4 kB / 0.8908 GB, free: 34.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.213e-06/1.513, allocations: 0 / 0.8908 GB, free: 34.82 MB / 0.545 GB Notification: Performance of Templates: time 0.4136/1.926, allocations: 56.39 MB / 0.9459 GB, free: 163.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches