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.001347/0.001347, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 214.4 kB / 18.58 MB, free: 4.406 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.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 79.16 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01357/0.1266, allocations: 12.66 MB / 492.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008446/0.135, allocations: 4.497 MB / 497.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.1369, allocations: 83.75 kB / 497.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006784/0.1438, allocations: 3.703 MB / 0.4893 GB, free: 132 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006027/0.1498, allocations: 2.187 MB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.1523, allocations: 0.9941 MB / 0.4924 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008343/0.1606, allocations: 6.047 MB / 0.4983 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005811/0.1665, allocations: 4.557 MB / 0.5028 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.1693, allocations: 1.951 MB / 0.5047 GB, free: 304 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1871/0.3565, allocations: 2.61 MB / 0.5072 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009698/0.3575, allocations: 410.5 kB / 0.5076 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.3599, allocations: 1.438 MB / 0.509 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.362, allocations: 2.418 MB / 0.5114 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.3646, allocations: 2.773 MB / 0.5141 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008565/0.3732, allocations: 8.498 MB / 0.5224 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3732, allocations: 0 / 0.5224 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3733, allocations: 0.5312 kB / 0.5224 GB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002196/0.3735, allocations: 4.141 kB / 0.5224 GB, free: 14.98 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01674/0.3902, allocations: 6.199 MB / 0.5285 GB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3903, allocations: 9.906 kB / 0.5285 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.392, allocations: 0.8207 MB / 0.5293 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/0.4288, allocations: 6.031 MB / 0.5352 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008796/0.4377, allocations: 4.057 MB / 0.5391 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.4378, allocations: 288.5 kB / 0.5394 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.4389, allocations: 376.5 kB / 0.5398 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.4562, allocations: 11.48 MB / 0.551 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.4563, allocations: 54.5 kB / 0.551 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000523/0.4569, allocations: 182 kB / 0.5512 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003693/0.4606, allocations: 2.147 MB / 0.5533 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.4794, allocations: 9.367 MB / 0.5624 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0537/0.5332, allocations: 45.46 MB / 0.6068 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.5435, allocations: 3.798 MB / 0.6106 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/0.5462, allocations: 2.014 MB / 0.6125 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.5564, allocations: 5.624 MB / 0.618 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.5565, allocations: 62.52 kB / 0.6181 GB, free: 6.742 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 5.781e-06/0.5565, allocations: 3.656 kB / 0.6181 GB, free: 6.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.04804/0.6045, allocations: 15.57 MB / 0.6333 GB, free: 7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6047, allocations: 233.6 kB / 0.6335 GB, free: 6.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/0.6167, allocations: 5.627 MB / 0.639 GB, free: 1.121 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004478/0.6172, allocations: 49.7 kB / 0.639 GB, free: 1.066 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003457/0.6206, allocations: 3.763 MB / 0.6427 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.6217, allocations: 0.6518 MB / 0.6434 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003206/0.6249, allocations: 1.336 MB / 0.6447 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6251, allocations: 305.1 kB / 0.645 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.6286, allocations: 2.07 MB / 0.647 GB, free: 8.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/0.6351, allocations: 6.324 MB / 0.6531 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.6461, allocations: 9.13 MB / 0.6621 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/0.6463, allocations: 44 kB / 0.6621 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01816/0.6645, allocations: 8.594 MB / 0.6705 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.6646, allocations: 72.06 kB / 0.6706 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/0.6648, allocations: 155.9 kB / 0.6707 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/0.6668, allocations: 0.7275 MB / 0.6714 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/0.6716, allocations: 1.501 MB / 0.6729 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/0.68, allocations: 6.971 MB / 0.6797 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005936/0.6859, allocations: 346.8 kB / 0.68 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/0.6875, allocations: 412 kB / 0.6804 GB, free: 2.91 MB / 0.5137 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.007196/0.6947, allocations: 2.455 MB / 0.6828 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/0.6963, allocations: 462.1 kB / 0.6833 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/0.7027, allocations: 2.659 MB / 0.6859 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/0.7028, allocations: 16 kB / 0.6859 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.528e-05/0.7028, allocations: 8 kB / 0.6859 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.7029, allocations: 7.969 kB / 0.6859 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/0.7231, allocations: 7.485 MB / 0.6932 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.7232, allocations: 4 kB / 0.6932 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.7245, allocations: 251.6 kB / 0.6934 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.726, allocations: 0.499 MB / 0.6939 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.7262, allocations: 32 kB / 0.694 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006754/0.733, allocations: 6.292 MB / 0.7001 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.733, allocations: 11.92 kB / 0.7001 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007183/0.7402, allocations: 4.944 MB / 0.7049 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.7417, allocations: 0.5107 MB / 0.7054 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/0.7428, allocations: 31.94 kB / 0.7055 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/0.7451, allocations: 83.34 kB / 0.7056 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.7454, allocations: 92.81 kB / 0.7056 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.7456, allocations: 44 kB / 0.7057 GB, free: 8.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006731/0.7523, allocations: 3.617 MB / 0.7092 GB, free: 4.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7523, allocations: 0 / 0.7092 GB, free: 4.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006403/0.7587, allocations: 1.082 MB / 0.7103 GB, free: 3.914 MB / 0.545 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.1921/0.9509, allocations: 5.585 MB / 0.7157 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008961/0.9599, allocations: 5.535 MB / 0.7211 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9599, allocations: 0 / 0.7211 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.9619, allocations: 1.497 MB / 0.7226 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/0.9659, allocations: 0.6251 MB / 0.7232 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06903/1.035, allocations: 65.46 MB / 0.7871 GB, free: 131.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/1.039, allocations: 3.765 MB / 0.7908 GB, free: 127.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004536/1.044, allocations: 2.128 MB / 0.7929 GB, free: 125.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.046, allocations: 2.303 MB / 0.7951 GB, free: 123.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/1.046, allocations: 1.641 kB / 0.7951 GB, free: 123.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.169, allocations: 88.72 MB / 0.8818 GB, free: 34.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.36, allocations: 11.66 kB / 0.8818 GB, free: 34.91 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