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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 76.16 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.321, allocations: 62.44 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01399/0.335, allocations: 12.68 MB / 0.5429 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.3455, allocations: 4.499 MB / 0.5473 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.3483, allocations: 85.84 kB / 0.5474 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007499/0.3558, allocations: 3.715 MB / 0.551 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006083/0.362, allocations: 2.175 MB / 0.5531 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.3645, allocations: 0.9982 MB / 0.5541 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008576/0.3731, allocations: 6.046 MB / 0.56 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006543/0.3796, allocations: 4.553 MB / 0.5644 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.3833, allocations: 1.947 MB / 0.5663 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.3877, allocations: 2.617 MB / 0.5689 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.389, allocations: 412 kB / 0.5693 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.3925, allocations: 1.443 MB / 0.5707 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003072/0.3956, allocations: 2.443 MB / 0.5731 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004199/0.3998, allocations: 2.769 MB / 0.5758 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.4099, allocations: 8.764 MB / 0.5844 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4099, allocations: 0 / 0.5844 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4099, allocations: 0 / 0.5844 GB, free: 10.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003009/0.4102, allocations: 4 kB / 0.5844 GB, free: 10.39 MB / 446.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.01532/0.4255, allocations: 6.184 MB / 0.5904 GB, free: 4.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4256, allocations: 15.97 kB / 0.5904 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001787/0.4274, allocations: 0.8188 MB / 0.5912 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03884/0.4663, allocations: 6.024 MB / 0.5971 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/0.4757, allocations: 4.145 MB / 0.6011 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.4759, allocations: 279.3 kB / 0.6014 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008772/0.4768, allocations: 383.6 kB / 0.6018 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.4958, allocations: 11.48 MB / 0.613 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.496, allocations: 55.53 kB / 0.613 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004725/0.4965, allocations: 179.8 kB / 0.6132 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003367/0.4999, allocations: 2.151 MB / 0.6153 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.5167, allocations: 9.368 MB / 0.6245 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05244/0.5692, allocations: 45.27 MB / 0.6687 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.5794, allocations: 3.795 MB / 0.6724 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.5819, allocations: 2.01 MB / 0.6743 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009623/0.5915, allocations: 5.644 MB / 0.6798 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.5916, allocations: 48.05 kB / 0.6799 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.238e-06/0.5916, allocations: 4 kB / 0.6799 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04038/0.632, allocations: 15.59 MB / 0.6951 GB, free: 6.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6322, allocations: 226.1 kB / 0.6953 GB, free: 5.914 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008698/0.6409, allocations: 5.62 MB / 0.7008 GB, free: 324 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000338/0.6412, allocations: 53.7 kB / 0.7009 GB, free: 264 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003402/0.6447, allocations: 3.764 MB / 0.7045 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008714/0.6456, allocations: 0.6599 MB / 0.7052 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/0.6475, allocations: 1.336 MB / 0.7065 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.6476, allocations: 301.1 kB / 0.7068 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/0.6509, allocations: 2.074 MB / 0.7088 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/0.6578, allocations: 6.31 MB / 0.715 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.6688, allocations: 9.138 MB / 0.7239 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.669, allocations: 44 kB / 0.7239 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.2516/0.9206, allocations: 8.598 MB / 0.7323 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.9208, allocations: 72.03 kB / 0.7324 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.921, allocations: 151 kB / 0.7325 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.9227, allocations: 0.7196 MB / 0.7332 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/0.9272, allocations: 1.498 MB / 0.7347 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.9339, allocations: 6.966 MB / 0.7415 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/0.9385, allocations: 344.9 kB / 0.7418 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007806/0.9393, allocations: 410.8 kB / 0.7422 GB, free: 166.8 MB / 0.5762 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.003209/0.9426, allocations: 2.457 MB / 0.7446 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007163/0.9433, allocations: 457.4 kB / 0.7451 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.947, allocations: 2.656 MB / 0.7477 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.9471, allocations: 23.38 kB / 0.7477 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.9471, allocations: 3.906 kB / 0.7477 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.9471, allocations: 11.94 kB / 0.7477 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.9582, allocations: 7.463 MB / 0.755 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.9583, allocations: 6.219 kB / 0.755 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.9595, allocations: 247.1 kB / 0.7552 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.9607, allocations: 0.4978 MB / 0.7557 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.9608, allocations: 34.42 kB / 0.7558 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/0.9661, allocations: 6.294 MB / 0.7619 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9661, allocations: 3.938 kB / 0.7619 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.9716, allocations: 4.936 MB / 0.7667 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.9728, allocations: 0.5146 MB / 0.7672 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004931/0.9733, allocations: 31.98 kB / 0.7673 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9747, allocations: 71.86 kB / 0.7673 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.975, allocations: 100.8 kB / 0.7674 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.9751, allocations: 46.39 kB / 0.7675 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004625/0.9797, allocations: 3.61 MB / 0.771 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9797, allocations: 3.938 kB / 0.771 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005083/0.9848, allocations: 1.088 MB / 0.7721 GB, free: 145.7 MB / 0.5762 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.005678/0.9905, allocations: 5.589 MB / 0.7775 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006538/0.9971, allocations: 5.159 MB / 0.7825 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.9971, allocations: 0 / 0.7825 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.9987, allocations: 1.499 MB / 0.784 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.002, allocations: 0.6254 MB / 0.7846 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05386/1.056, allocations: 53.78 MB / 0.8371 GB, free: 72.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/1.059, allocations: 3.764 MB / 0.8408 GB, free: 68.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003938/1.063, allocations: 2.125 MB / 0.8429 GB, free: 66.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/1.065, allocations: 2.3 MB / 0.8451 GB, free: 64.11 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/1.065, allocations: 0 / 0.8451 GB, free: 64.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/1.233, allocations: 85.32 MB / 0.9285 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.76/30, allocations: 12 kB / 0.9285 GB, free: 11.23 MB / 0.6075 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches