Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001579, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.11 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.001631, allocations: 76.28 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1189, allocations: 62.43 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.02496/0.1439, allocations: 15.41 MB / 495.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.1545, allocations: 5.057 MB / 0.4889 GB, free: 0.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.1577, allocations: 107.6 kB / 0.489 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00877/0.1665, allocations: 4.984 MB / 0.4938 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.1731, allocations: 2.509 MB / 0.4963 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.1758, allocations: 1.24 MB / 0.4975 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2282/0.404, allocations: 7.954 MB / 0.5053 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007491/0.4116, allocations: 5.992 MB / 0.5111 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.4162, allocations: 2.508 MB / 0.5136 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006221/0.4225, allocations: 3.448 MB / 0.5169 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.4241, allocations: 0.5366 MB / 0.5174 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.4275, allocations: 1.56 MB / 0.519 GB, free: 13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003216/0.4307, allocations: 3.132 MB / 0.522 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004573/0.4353, allocations: 3.569 MB / 0.5255 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009083/0.4444, allocations: 10.73 MB / 0.536 GB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4444, allocations: 2.062 kB / 0.536 GB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4445, allocations: 0 / 0.536 GB, free: 5.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.4447, allocations: 0 / 0.536 GB, free: 5.418 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01471/0.4594, allocations: 7.811 MB / 0.5436 GB, free: 284 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4595, allocations: 9.969 kB / 0.5436 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.4612, allocations: 1.015 MB / 0.5446 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05387/0.515, allocations: 8.284 MB / 0.5527 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.5268, allocations: 5.323 MB / 0.5579 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.5271, allocations: 368.1 kB / 0.5583 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.5287, allocations: 498.6 kB / 0.5587 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/0.5563, allocations: 14.09 MB / 0.5725 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/0.5567, allocations: 72.31 kB / 0.5726 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/0.5586, allocations: 229.9 kB / 0.5728 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004412/0.563, allocations: 2.542 MB / 0.5753 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02342/0.5865, allocations: 11.44 MB / 0.5864 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06815/0.6547, allocations: 55.39 MB / 0.6405 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.6668, allocations: 4.462 MB / 0.6449 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.6704, allocations: 2.708 MB / 0.6475 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.6705, allocations: 39.53 kB / 0.6476 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6706, allocations: 62.45 kB / 0.6476 GB, free: 6.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=186): time 4.709e-06/0.6706, allocations: 3.984 kB / 0.6476 GB, free: 6.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=204): time 0.0549/0.7255, allocations: 20.35 MB / 0.6675 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.7257, allocations: 264.7 kB / 0.6678 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/0.737, allocations: 6.688 MB / 0.6743 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003827/0.7374, allocations: 53.7 kB / 0.6743 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005384/0.7428, allocations: 4.559 MB / 0.6788 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/0.7444, allocations: 0.8132 MB / 0.6796 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003327/0.7478, allocations: 1.558 MB / 0.6811 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.7479, allocations: 305.1 kB / 0.6814 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/0.7518, allocations: 2.56 MB / 0.6839 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007222/0.759, allocations: 7.443 MB / 0.6912 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.7711, allocations: 10.85 MB / 0.7018 GB, free: 10.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/0.7713, allocations: 48 kB / 0.7018 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=996) (initialization): time 0.2366/1.008, allocations: 10.44 MB / 0.712 GB, free: 178.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.008, allocations: 79.8 kB / 0.7121 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/1.008, allocations: 172 kB / 0.7122 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.011, allocations: 1.016 MB / 0.7132 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005557/1.017, allocations: 1.753 MB / 0.715 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.028, allocations: 10.36 MB / 0.7251 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/1.035, allocations: 427.4 kB / 0.7255 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.036, allocations: 480.4 kB / 0.7259 GB, free: 173.7 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 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (930): * Single equations (assignments): 924 * 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,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005205/1.041, allocations: 2.972 MB / 0.7288 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.042, allocations: 0.5437 MB / 0.7294 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/1.048, allocations: 3.752 MB / 0.733 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/1.048, allocations: 25.23 kB / 0.7331 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.048, allocations: 9.219 kB / 0.7331 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/1.048, allocations: 9.469 kB / 0.7331 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/1.066, allocations: 10.02 MB / 0.7429 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.066, allocations: 3.75 kB / 0.7429 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.067, allocations: 322.5 kB / 0.7432 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.069, allocations: 0.7421 MB / 0.7439 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.069, allocations: 32.8 kB / 0.7439 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/1.077, allocations: 9.447 MB / 0.7532 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.077, allocations: 3.875 kB / 0.7532 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008488/1.085, allocations: 6.592 MB / 0.7596 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.087, allocations: 0.6065 MB / 0.7602 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/1.088, allocations: 38.38 kB / 0.7602 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.089, allocations: 111.2 kB / 0.7603 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/1.09, allocations: 123.2 kB / 0.7604 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.09, allocations: 58.98 kB / 0.7605 GB, free: 158.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007686/1.098, allocations: 4.287 MB / 0.7647 GB, free: 156.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.12e-07/1.098, allocations: 0 / 0.7647 GB, free: 156.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01004/1.108, allocations: 1.359 MB / 0.766 GB, free: 155.8 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,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008778/1.117, allocations: 7.261 MB / 0.7731 GB, free: 149.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009836/1.126, allocations: 7.299 MB / 0.7802 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.127, allocations: 0 / 0.7802 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.129, allocations: 2.09 MB / 0.7823 GB, free: 140.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004749/1.134, allocations: 0.8082 MB / 0.7831 GB, free: 140 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09198/1.226, allocations: 83.41 MB / 0.8645 GB, free: 44.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004111/1.23, allocations: 4.532 MB / 0.8689 GB, free: 40.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005375/1.235, allocations: 2.484 MB / 0.8714 GB, free: 37.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002956/1.238, allocations: 2.921 MB / 0.8742 GB, free: 34.87 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.238, allocations: 0 / 0.8742 GB, free: 34.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3932/1.632, allocations: 111.4 MB / 0.983 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.34, allocations: 10.09 kB / 0.983 GB, free: 166.6 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches