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.0008457/0.0008457, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007696/0.0007696, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.8931/0.8931, allocations: 177 MB / 204.1 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2583/0.2583, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 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 1.573e-06/1.573e-06, allocations: 0 / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.168e-05, allocations: 2.281 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1847/0.1847, allocations: 11.11 MB / 453.3 MB, free: 37.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007906/0.1927, allocations: 4.294 MB / 457.6 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.1948, allocations: 101.4 kB / 457.7 MB, free: 35.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.1985, allocations: 3.804 MB / 461.5 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.2029, allocations: 2.321 MB / 463.8 MB, free: 32.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.2046, allocations: 1.093 MB / 464.9 MB, free: 32.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006074/0.2107, allocations: 6.797 MB / 471.7 MB, free: 29.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.2141, allocations: 4.03 MB / 475.7 MB, free: 27.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005017/0.2192, allocations: 2.995 MB / 478.7 MB, free: 26.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003766/0.2229, allocations: 2.881 MB / 481.6 MB, free: 25.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009644/0.2239, allocations: 419.5 kB / 482 MB, free: 25.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.2261, allocations: 1.397 MB / 483.4 MB, free: 25.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.2283, allocations: 2.619 MB / 486 MB, free: 24.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002873/0.2312, allocations: 1.641 MB / 487.7 MB, free: 23.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.2429, allocations: 8.878 MB / 496.5 MB, free: 20.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.2429, allocations: 4 kB / 496.5 MB, free: 20.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2429, allocations: 0 / 496.5 MB, free: 20.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004138/0.2433, allocations: 0 / 496.5 MB, free: 20.28 MB / 410.7 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.01706/0.2604, allocations: 6.367 MB / 0.4911 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.2605, allocations: 8.781 kB / 0.4911 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002251/0.2627, allocations: 0.8214 MB / 0.4919 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/0.2836, allocations: 6.465 MB / 0.4982 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00755/0.2911, allocations: 3.75 MB / 0.5019 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.2913, allocations: 279.5 kB / 0.5022 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.2925, allocations: 380.1 kB / 0.5025 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.3077, allocations: 11.55 MB / 0.5138 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.3079, allocations: 63.52 kB / 0.5139 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005859/0.3085, allocations: 179.8 kB / 0.514 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.3107, allocations: 2.147 MB / 0.5161 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.3259, allocations: 9.353 MB / 0.5253 GB, free: 24 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.372, allocations: 43.99 MB / 0.5682 GB, free: 2.801 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006054/0.3781, allocations: 3.367 MB / 0.5715 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.38, allocations: 1.872 MB / 0.5733 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007824/0.3879, allocations: 5.247 MB / 0.5785 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3879, allocations: 55.98 kB / 0.5785 GB, free: 8.172 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.859e-06/0.3879, allocations: 0 / 0.5785 GB, free: 8.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.02781/0.4157, allocations: 16.39 MB / 0.5945 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.4158, allocations: 222.3 kB / 0.5947 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007217/0.423, allocations: 6.25 MB / 0.6008 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.4234, allocations: 45.7 kB / 0.6009 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.4256, allocations: 3.87 MB / 0.6047 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/0.4264, allocations: 0.6669 MB / 0.6053 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.4277, allocations: 1.33 MB / 0.6066 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.4278, allocations: 305.1 kB / 0.6069 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.43, allocations: 2.074 MB / 0.6089 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/0.4342, allocations: 6.372 MB / 0.6152 GB, free: 324 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007266/0.4415, allocations: 9.136 MB / 0.6241 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.4416, allocations: 40 kB / 0.6241 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.2096/0.6512, allocations: 8.604 MB / 0.6325 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.6512, allocations: 78.28 kB / 0.6326 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/0.6514, allocations: 149.7 kB / 0.6327 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.6526, allocations: 0.717 MB / 0.6334 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.6556, allocations: 1.503 MB / 0.6349 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.6603, allocations: 6.801 MB / 0.6415 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/0.6649, allocations: 401.5 kB / 0.6419 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009824/0.6659, allocations: 414.2 kB / 0.6423 GB, free: 141.7 MB / 0.5261 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.00372/0.6696, allocations: 2.462 MB / 0.6447 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008501/0.6705, allocations: 486.3 kB / 0.6452 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.6734, allocations: 2.643 MB / 0.6478 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.6735, allocations: 23.31 kB / 0.6478 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6735, allocations: 9.953 kB / 0.6478 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6735, allocations: 6.234 kB / 0.6478 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.6835, allocations: 7.237 MB / 0.6549 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.6835, allocations: 2.812 kB / 0.6549 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/0.6843, allocations: 259 kB / 0.6551 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/0.6852, allocations: 0.4998 MB / 0.6556 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.6853, allocations: 28.31 kB / 0.6556 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/0.6897, allocations: 6.127 MB / 0.6616 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.6897, allocations: 3.406 kB / 0.6616 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.695, allocations: 4.958 MB / 0.6665 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.6965, allocations: 0.5251 MB / 0.667 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004373/0.6969, allocations: 30.97 kB / 0.667 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.6981, allocations: 132.9 kB / 0.6671 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.6982, allocations: 104.3 kB / 0.6672 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.6983, allocations: 45.89 kB / 0.6673 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005677/0.704, allocations: 3.892 MB / 0.6711 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.704, allocations: 0 / 0.6711 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006127/0.7101, allocations: 1.268 MB / 0.6723 GB, free: 129.5 MB / 0.5261 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.005821/0.7159, allocations: 5.611 MB / 0.6778 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007322/0.7233, allocations: 4.98 MB / 0.6827 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.7233, allocations: 3.906 kB / 0.6827 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.7246, allocations: 1.4 MB / 0.684 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/0.7277, allocations: 0.6344 MB / 0.6847 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05777/0.7854, allocations: 55.09 MB / 0.7384 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/0.7884, allocations: 3.243 MB / 0.7416 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003222/0.7916, allocations: 2.128 MB / 0.7437 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/0.7937, allocations: 2.328 MB / 0.746 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/0.7937, allocations: 0 / 0.746 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09457/0.8882, allocations: 87.81 MB / 0.8317 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.78, allocations: 4 kB / 0.8317 GB, free: 7.211 MB / 0.5573 GB " [Timeout remaining time 647] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/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: 15.537282685749233]