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.001546/0.001546, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001662/0.001662, allocations: 209.2 kB / 24.51 MB, free: 3.941 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.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2224/0.2224, allocations: 46.95 MB / 361.6 MB, free: 3.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 79.86 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2981, allocations: 66.08 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0141/0.3122, allocations: 11.03 MB / 0.5722 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0089/0.3211, allocations: 4.291 MB / 0.5764 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.3228, allocations: 103.5 kB / 0.5765 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007246/0.3301, allocations: 3.606 MB / 0.58 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.3357, allocations: 2.252 MB / 0.5822 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.3381, allocations: 0.9982 MB / 0.5832 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008921/0.347, allocations: 6.058 MB / 0.5891 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004806/0.3518, allocations: 3.514 MB / 0.5925 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.3552, allocations: 1.99 MB / 0.5945 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.3594, allocations: 2.835 MB / 0.5973 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.3604, allocations: 408 kB / 0.5976 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.3632, allocations: 1.354 MB / 0.599 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002823/0.366, allocations: 2.497 MB / 0.6014 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003013/0.369, allocations: 2.07 MB / 0.6034 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.3803, allocations: 8.837 MB / 0.6121 GB, free: 15.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3803, allocations: 4 kB / 0.6121 GB, free: 15.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3803, allocations: 0 / 0.6121 GB, free: 15.97 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002457/0.3806, allocations: 0 / 0.6121 GB, free: 15.97 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.01442/0.395, allocations: 6.279 MB / 0.6182 GB, free: 9.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.395, allocations: 8.031 kB / 0.6182 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00014/0.3952, allocations: 119.5 kB / 0.6183 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001381/0.3965, allocations: 0.8266 MB / 0.6191 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03699/0.4335, allocations: 6.055 MB / 0.625 GB, free: 2.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009842/0.4434, allocations: 4.087 MB / 0.629 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.4437, allocations: 287.1 kB / 0.6293 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/0.4452, allocations: 375.8 kB / 0.6297 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.4685, allocations: 11.53 MB / 0.6409 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/0.4687, allocations: 59.56 kB / 0.641 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000605/0.4693, allocations: 183.8 kB / 0.6412 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003771/0.4731, allocations: 2.143 MB / 0.6432 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.4919, allocations: 9.363 MB / 0.6524 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05679/0.5487, allocations: 43.59 MB / 0.695 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.5589, allocations: 3.213 MB / 0.6981 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.5616, allocations: 1.861 MB / 0.6999 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009631/0.5713, allocations: 4.913 MB / 0.7047 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.5713, allocations: 44.05 kB / 0.7047 GB, free: 14.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.629e-06/0.5713, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04385/0.6152, allocations: 15.7 MB / 0.7201 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.6153, allocations: 226.2 kB / 0.7203 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009459/0.6248, allocations: 5.64 MB / 0.7258 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000321/0.6251, allocations: 53.7 kB / 0.7259 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003501/0.6286, allocations: 3.909 MB / 0.7297 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009732/0.6296, allocations: 0.6786 MB / 0.7303 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/0.6317, allocations: 1.345 MB / 0.7317 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6318, allocations: 305.1 kB / 0.7319 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/0.6351, allocations: 2.074 MB / 0.734 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2282/0.8634, allocations: 6.363 MB / 0.7402 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007305/0.8707, allocations: 9.135 MB / 0.7491 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/0.8708, allocations: 41.97 kB / 0.7491 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01217/0.883, allocations: 8.616 MB / 0.7576 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/0.8831, allocations: 68 kB / 0.7576 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.8832, allocations: 152 kB / 0.7578 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.8847, allocations: 0.7282 MB / 0.7585 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004028/0.8887, allocations: 1.498 MB / 0.7599 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.8948, allocations: 6.698 MB / 0.7665 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005196/0.9, allocations: 336.6 kB / 0.7668 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/0.901, allocations: 423.4 kB / 0.7672 GB, free: 129.6 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.003575/0.9046, allocations: 2.457 MB / 0.7696 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007611/0.9053, allocations: 482.7 kB / 0.7701 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.909, allocations: 2.651 MB / 0.7727 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.909, allocations: 20 kB / 0.7727 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.909, allocations: 7.938 kB / 0.7727 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.909, allocations: 7.969 kB / 0.7727 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.9198, allocations: 7.092 MB / 0.7796 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.9198, allocations: 4 kB / 0.7796 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.921, allocations: 255.6 kB / 0.7799 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.9222, allocations: 0.4952 MB / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.9223, allocations: 32 kB / 0.7804 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/0.9274, allocations: 6.024 MB / 0.7863 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9274, allocations: 7.938 kB / 0.7863 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.9327, allocations: 4.966 MB / 0.7911 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.9337, allocations: 477.9 kB / 0.7916 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/0.9344, allocations: 32 kB / 0.7916 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.9359, allocations: 75.91 kB / 0.7917 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.9361, allocations: 104.6 kB / 0.7918 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9362, allocations: 44 kB / 0.7918 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004336/0.9406, allocations: 3.606 MB / 0.7953 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9406, allocations: 0 / 0.7953 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005394/0.946, allocations: 1.09 MB / 0.7964 GB, free: 100.6 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.005862/0.9518, allocations: 5.599 MB / 0.8019 GB, free: 94.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006788/0.9586, allocations: 4.988 MB / 0.8067 GB, free: 89.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.9586, allocations: 0 / 0.8067 GB, free: 89.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.9603, allocations: 1.411 MB / 0.8081 GB, free: 88.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.9638, allocations: 0.6314 MB / 0.8087 GB, free: 87.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05973/1.023, allocations: 54.03 MB / 0.8615 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.027, allocations: 3.252 MB / 0.8647 GB, free: 23.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004081/1.031, allocations: 2.115 MB / 0.8667 GB, free: 21.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/1.033, allocations: 2.307 MB / 0.869 GB, free: 19.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.033, allocations: 0 / 0.869 GB, free: 19.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.191, allocations: 87.61 MB / 0.9546 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.39/32.58, allocations: 14.52 kB / 0.9546 GB, free: 12.66 MB / 0.6387 GB " [Timeout remaining time 627] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 37.31194379401859]