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.001012/0.001012, allocations: 95.56 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1964/0.1964, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3013/0.4171, allocations: 63.13 MB / 0.5335 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03035/0.4474, allocations: 12.94 MB / 0.5461 GB, free: 316 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0148/0.4623, allocations: 282.5 kB / 0.5464 GB, free: 272 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.4649, allocations: 0.4923 MB / 0.5469 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.4727, allocations: 2.067 MB / 0.5489 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.475, allocations: 0.8131 MB / 0.5497 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.4853, allocations: 8.668 MB / 0.5582 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008732/0.494, allocations: 6.309 MB / 0.5643 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.4973, allocations: 1.435 MB / 0.5657 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.5016, allocations: 2.437 MB / 0.5681 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.5028, allocations: 171.9 kB / 0.5683 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.5061, allocations: 1.287 MB / 0.5695 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.5088, allocations: 2.174 MB / 0.5717 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.5125, allocations: 2.458 MB / 0.5741 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009341/0.5219, allocations: 8.163 MB / 0.582 GB, free: 1.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5219, allocations: 0 / 0.582 GB, free: 1.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5219, allocations: 0 / 0.582 GB, free: 1.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003229/0.5223, allocations: 0 / 0.582 GB, free: 1.191 MB / 414.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.01235/0.5346, allocations: 5.113 MB / 0.587 GB, free: 12.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5347, allocations: 12.88 kB / 0.587 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002054/0.5368, allocations: 0.8188 MB / 0.5878 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03947/0.5762, allocations: 6.121 MB / 0.5938 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009125/0.5854, allocations: 4.048 MB / 0.5978 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.5857, allocations: 291 kB / 0.598 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.587, allocations: 375.7 kB / 0.5984 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.6087, allocations: 11.5 MB / 0.6096 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/0.609, allocations: 63.42 kB / 0.6097 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.61, allocations: 179.8 kB / 0.6099 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003654/0.6137, allocations: 2.151 MB / 0.612 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.6335, allocations: 9.387 MB / 0.6211 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05689/0.6904, allocations: 45.48 MB / 0.6655 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.7009, allocations: 3.798 MB / 0.6692 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.7038, allocations: 2.016 MB / 0.6712 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.7141, allocations: 5.636 MB / 0.6767 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.7142, allocations: 52.05 kB / 0.6768 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.007e-06/0.7142, allocations: 0 / 0.6768 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04294/0.7571, allocations: 15.57 MB / 0.692 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.7573, allocations: 222.2 kB / 0.6922 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009991/0.7673, allocations: 5.623 MB / 0.6977 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003895/0.7677, allocations: 49.7 kB / 0.6977 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/0.7708, allocations: 3.764 MB / 0.7014 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009453/0.7718, allocations: 0.6482 MB / 0.702 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.773, allocations: 0.5592 MB / 0.7026 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7731, allocations: 313.1 kB / 0.7029 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004491/0.7776, allocations: 2.066 MB / 0.7049 GB, free: 480 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2255/1.003, allocations: 6.318 MB / 0.7111 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009964/1.013, allocations: 9.131 MB / 0.72 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002988/1.013, allocations: 46.7 kB / 0.72 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01709/1.031, allocations: 8.602 MB / 0.7284 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.031, allocations: 70.97 kB / 0.7285 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/1.031, allocations: 150.6 kB / 0.7286 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/1.033, allocations: 0.7262 MB / 0.7293 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004618/1.038, allocations: 1.507 MB / 0.7308 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/1.043, allocations: 6.475 MB / 0.7371 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.048, allocations: 338.3 kB / 0.7375 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006358/1.049, allocations: 413.3 kB / 0.7379 GB, free: 161 MB / 0.5294 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.003409/1.052, allocations: 2.462 MB / 0.7403 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006354/1.053, allocations: 457.9 kB / 0.7407 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/1.057, allocations: 2.655 MB / 0.7433 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/1.057, allocations: 18 kB / 0.7433 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.057, allocations: 6 kB / 0.7433 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.057, allocations: 6.891 kB / 0.7433 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009748/1.066, allocations: 7.48 MB / 0.7506 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.066, allocations: 4 kB / 0.7506 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.067, allocations: 256.2 kB / 0.7509 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/1.069, allocations: 0.5044 MB / 0.7514 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/1.069, allocations: 28 kB / 0.7514 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/1.074, allocations: 5.787 MB / 0.757 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.074, allocations: 4 kB / 0.757 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/1.079, allocations: 4.956 MB / 0.7619 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.08, allocations: 0.5262 MB / 0.7624 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/1.081, allocations: 33.23 kB / 0.7624 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.082, allocations: 71.92 kB / 0.7625 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.082, allocations: 96.75 kB / 0.7626 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.949e-05/1.083, allocations: 47.98 kB / 0.7626 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004194/1.087, allocations: 3.61 MB / 0.7662 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.087, allocations: 0 / 0.7662 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005015/1.092, allocations: 1.095 MB / 0.7672 GB, free: 137.8 MB / 0.5294 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.005403/1.097, allocations: 5.576 MB / 0.7727 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006651/1.104, allocations: 5.153 MB / 0.7777 GB, free: 127 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.104, allocations: 0 / 0.7777 GB, free: 127 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.105, allocations: 1.481 MB / 0.7792 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/1.111, allocations: 0.5984 MB / 0.7797 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08441/1.195, allocations: 67.54 MB / 0.8457 GB, free: 48.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/1.198, allocations: 3.772 MB / 0.8494 GB, free: 44.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004481/1.203, allocations: 2.124 MB / 0.8515 GB, free: 42.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/1.206, allocations: 2.303 MB / 0.8537 GB, free: 39.77 MB / 0.5294 GB Notification: Performance of SimCode: time 1.973e-06/1.206, allocations: 0 / 0.8537 GB, free: 39.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3659/1.571, allocations: 86.02 MB / 0.9377 GB, free: 169.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.572, allocations: 214.6 kB / 0.9379 GB, free: 168.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/5.609, allocations: 0 / 0.9379 GB, free: 168.9 MB / 0.545 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