Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 107.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.89 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3258, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01778/0.3436, allocations: 16.3 MB / 0.5476 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.3572, allocations: 5.25 MB / 0.5527 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003994/0.3612, allocations: 111.7 kB / 0.5528 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009525/0.3708, allocations: 5.51 MB / 0.5582 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008033/0.3789, allocations: 2.599 MB / 0.5607 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.3819, allocations: 1.178 MB / 0.5619 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.3939, allocations: 8.243 MB / 0.5699 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00932/0.4033, allocations: 6.906 MB / 0.5767 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004996/0.4083, allocations: 2.687 MB / 0.5793 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005871/0.4142, allocations: 3.645 MB / 0.5829 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.4165, allocations: 0.5781 MB / 0.5834 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.4205, allocations: 1.444 MB / 0.5849 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004409/0.4249, allocations: 3.363 MB / 0.5881 GB, free: 7.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007279/0.4322, allocations: 3.713 MB / 0.5918 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.4465, allocations: 11.47 MB / 0.603 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4465, allocations: 0 / 0.603 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4465, allocations: 3.938 kB / 0.603 GB, free: 8.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000488/0.447, allocations: 0 / 0.603 GB, free: 8.449 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: 2313 * Number of variables: 2313 Notification: Performance of Generate backend data structure: time 0.02071/0.4677, allocations: 8.039 MB / 0.6108 GB, free: 332 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4678, allocations: 8.031 kB / 0.6108 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.4821, allocations: 3.088 MB / 0.6138 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.4945, allocations: 5.006 MB / 0.6187 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.495, allocations: 390.5 kB / 0.6191 GB, free: 7.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/0.498, allocations: 0.5271 MB / 0.6196 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/0.529, allocations: 15.36 MB / 0.6346 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003119/0.5294, allocations: 79.3 kB / 0.6347 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.5309, allocations: 251.8 kB / 0.6349 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004648/0.5355, allocations: 2.809 MB / 0.6377 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.5597, allocations: 12.77 MB / 0.6502 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07501/0.6347, allocations: 61.58 MB / 0.7103 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.6493, allocations: 5.642 MB / 0.7158 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4914/1.141, allocations: 3.786 MB / 0.7195 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/1.141, allocations: 49.55 kB / 0.7195 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.141, allocations: 64.31 kB / 0.7196 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=229): time 5.24e-06/1.141, allocations: 3.781 kB / 0.7196 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=262): time 0.07412/1.215, allocations: 31.33 MB / 0.7502 GB, free: 146.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.215, allocations: 282.9 kB / 0.7505 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/1.223, allocations: 7.048 MB / 0.7574 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005325/1.223, allocations: 69.14 kB / 0.7574 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/1.225, allocations: 4.732 MB / 0.762 GB, free: 134.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009373/1.226, allocations: 1.024 MB / 0.763 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/1.228, allocations: 1.831 MB / 0.7648 GB, free: 131.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.626e-05/1.228, allocations: 305.1 kB / 0.7651 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/1.232, allocations: 3.523 MB / 0.7686 GB, free: 127.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/1.237, allocations: 8.722 MB / 0.7771 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.248, allocations: 13.09 MB / 0.7899 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.26e-05/1.248, allocations: 55.94 kB / 0.7899 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.01951/1.267, allocations: 14 MB / 0.8036 GB, free: 86.79 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/1.268, allocations: 83.94 kB / 0.8037 GB, free: 86.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/1.268, allocations: 184 kB / 0.8039 GB, free: 86.53 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/1.273, allocations: 2.302 MB / 0.8061 GB, free: 84.22 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005634/1.278, allocations: 2.068 MB / 0.8081 GB, free: 82.15 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.294, allocations: 15.56 MB / 0.8233 GB, free: 66.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006424/1.3, allocations: 0.5067 MB / 0.8238 GB, free: 65.69 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.301, allocations: 0.5195 MB / 0.8243 GB, free: 65.17 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1082): * Single equations (assignments): 1076 * 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,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004747/1.306, allocations: 3.19 MB / 0.8274 GB, free: 61.96 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.307, allocations: 0.5785 MB / 0.828 GB, free: 61.38 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.318, allocations: 6.72 MB / 0.8346 GB, free: 54.63 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/1.318, allocations: 15.95 kB / 0.8346 GB, free: 54.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.318, allocations: 4 kB / 0.8346 GB, free: 54.61 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.319, allocations: 0.6458 MB / 0.8352 GB, free: 53.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.321, allocations: 40 kB / 0.8352 GB, free: 53.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.323, allocations: 183.7 kB / 0.8354 GB, free: 53.72 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.324, allocations: 185.5 kB / 0.8356 GB, free: 53.54 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01148/1.335, allocations: 7.198 MB / 0.8426 GB, free: 46.38 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01284/1.348, allocations: 8.813 MB / 0.8512 GB, free: 37.5 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003493/1.352, allocations: 2.318 MB / 0.8535 GB, free: 35.18 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009514/1.361, allocations: 4.491 MB / 0.8579 GB, free: 30.71 MB / 0.5607 GB Notification: Performance of Backend: time 6.81e-07/1.361, allocations: 0 / 0.8579 GB, free: 30.71 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01727/1.379, allocations: 6.802 MB / 0.8645 GB, free: 23.93 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02542/1.404, allocations: 14.93 MB / 0.8791 GB, free: 8.973 MB / 0.5607 GB Notification: Performance of Templates: time 0.3802/1.784, allocations: 77.55 MB / 0.9548 GB, free: 209.4 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches