Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.00237, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.92 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] 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.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 79.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3283, allocations: 66.07 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01545/0.3438, allocations: 12.76 MB / 0.5732 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00982/0.3536, allocations: 4.552 MB / 0.5776 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.3556, allocations: 103.5 kB / 0.5777 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007399/0.363, allocations: 3.773 MB / 0.5814 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.3691, allocations: 2.252 MB / 0.5836 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.3718, allocations: 0.9982 MB / 0.5846 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009702/0.3815, allocations: 6.058 MB / 0.5905 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005292/0.3868, allocations: 3.506 MB / 0.5939 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.3908, allocations: 1.986 MB / 0.5959 GB, free: 132 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00474/0.3955, allocations: 2.835 MB / 0.5986 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.3969, allocations: 408 kB / 0.599 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.4005, allocations: 1.49 MB / 0.6005 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003544/0.404, allocations: 2.505 MB / 0.6029 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004968/0.409, allocations: 2.765 MB / 0.6056 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.421, allocations: 8.794 MB / 0.6142 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.421, allocations: 3.938 kB / 0.6142 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.421, allocations: 4 kB / 0.6142 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003242/0.4213, allocations: 0 / 0.6142 GB, free: 13.26 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01545/0.4367, allocations: 6.275 MB / 0.6204 GB, free: 6.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4368, allocations: 8.031 kB / 0.6204 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001846/0.4386, allocations: 0.8228 MB / 0.6212 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03715/0.4758, allocations: 6.066 MB / 0.6271 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.4861, allocations: 4.075 MB / 0.6311 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.4864, allocations: 287.3 kB / 0.6313 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.488, allocations: 379.7 kB / 0.6317 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.5138, allocations: 11.48 MB / 0.6429 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003824/0.5142, allocations: 59.5 kB / 0.643 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/0.5159, allocations: 179.8 kB / 0.6431 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004121/0.52, allocations: 2.15 MB / 0.6452 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.5406, allocations: 9.366 MB / 0.6544 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06394/0.6045, allocations: 45.17 MB / 0.6985 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.6148, allocations: 3.223 MB / 0.7016 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/0.6178, allocations: 1.865 MB / 0.7035 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.6296, allocations: 5.403 MB / 0.7087 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.723e-05/0.6297, allocations: 59.98 kB / 0.7088 GB, free: 10.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 6.002e-06/0.6297, allocations: 0 / 0.7088 GB, free: 10.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04503/0.6747, allocations: 15.61 MB / 0.724 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.6749, allocations: 226.3 kB / 0.7243 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/0.6857, allocations: 5.636 MB / 0.7298 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.686, allocations: 53.7 kB / 0.7298 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0041/0.6901, allocations: 3.905 MB / 0.7336 GB, free: 412 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.2529/0.943, allocations: 0.6715 MB / 0.7343 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003217/0.9462, allocations: 1.349 MB / 0.7356 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.9463, allocations: 304.6 kB / 0.7359 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/0.9498, allocations: 2.073 MB / 0.7379 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/0.9544, allocations: 6.312 MB / 0.7441 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/0.962, allocations: 9.137 MB / 0.753 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001998/0.9622, allocations: 41.5 kB / 0.753 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01464/0.9768, allocations: 8.617 MB / 0.7615 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.9769, allocations: 68 kB / 0.7615 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/0.9771, allocations: 156.8 kB / 0.7617 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.9788, allocations: 0.724 MB / 0.7624 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/0.9832, allocations: 1.504 MB / 0.7639 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/0.9898, allocations: 6.754 MB / 0.7704 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/0.9948, allocations: 339.5 kB / 0.7708 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009838/0.9958, allocations: 418.8 kB / 0.7712 GB, free: 126.3 MB / 0.5606 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (798): * Single equations (assignments): 791 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004137/0.9999, allocations: 2.456 MB / 0.7736 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009148/1.001, allocations: 490.6 kB / 0.774 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/1.005, allocations: 2.648 MB / 0.7766 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/1.005, allocations: 20 kB / 0.7766 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.005, allocations: 8 kB / 0.7766 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.005, allocations: 11.98 kB / 0.7767 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.019, allocations: 7.423 MB / 0.7839 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.019, allocations: 1.406 kB / 0.7839 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.02, allocations: 259.6 kB / 0.7842 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/1.021, allocations: 0.4976 MB / 0.7846 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/1.022, allocations: 31.75 kB / 0.7847 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/1.027, allocations: 6.07 MB / 0.7906 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.027, allocations: 9.297 kB / 0.7906 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/1.033, allocations: 4.956 MB / 0.7955 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.034, allocations: 479.2 kB / 0.7959 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008854/1.035, allocations: 35.92 kB / 0.7959 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.037, allocations: 71.92 kB / 0.796 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.037, allocations: 96.69 kB / 0.7961 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.037, allocations: 48 kB / 0.7961 GB, free: 101 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00563/1.043, allocations: 3.615 MB / 0.7997 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.043, allocations: 4 kB / 0.7997 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005803/1.048, allocations: 1.092 MB / 0.8007 GB, free: 96.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,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.006327/1.055, allocations: 5.602 MB / 0.8062 GB, free: 90.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00693/1.062, allocations: 4.98 MB / 0.8111 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.062, allocations: 0 / 0.8111 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/1.063, allocations: 1.405 MB / 0.8125 GB, free: 84.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/1.068, allocations: 0.6312 MB / 0.8131 GB, free: 83.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07235/1.14, allocations: 54.05 MB / 0.8659 GB, free: 22.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/1.145, allocations: 3.769 MB / 0.8695 GB, free: 19.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004625/1.149, allocations: 2.124 MB / 0.8716 GB, free: 17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/1.152, allocations: 2.303 MB / 0.8739 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.522e-06/1.152, allocations: 0 / 0.8739 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/1.325, allocations: 90.01 MB / 0.9618 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.61/34.94, allocations: 8.062 kB / 0.9618 GB, free: 5.109 MB / 0.6387 GB " [Timeout remaining time 625] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 38.822057282784954]