Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.001581/0.001581, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001764/0.001764, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8 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.2294/0.2294, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 75.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3089, allocations: 66.09 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01649/0.3254, allocations: 12.73 MB / 0.5739 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3366, allocations: 4.551 MB / 0.5784 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.3391, allocations: 103.5 kB / 0.5785 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007775/0.3469, allocations: 3.761 MB / 0.5822 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.353, allocations: 2.245 MB / 0.5844 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.3556, allocations: 1.006 MB / 0.5853 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009644/0.3653, allocations: 6.048 MB / 0.5912 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005549/0.3708, allocations: 3.517 MB / 0.5947 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.3746, allocations: 1.978 MB / 0.5966 GB, free: 164 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00479/0.3794, allocations: 2.823 MB / 0.5994 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.3809, allocations: 408 kB / 0.5998 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.3846, allocations: 1.486 MB / 0.6012 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003589/0.3882, allocations: 2.501 MB / 0.6036 GB, free: 8.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005053/0.3932, allocations: 2.765 MB / 0.6063 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.4058, allocations: 8.774 MB / 0.6149 GB, free: 13.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4058, allocations: 0 / 0.6149 GB, free: 13.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4058, allocations: 3.938 kB / 0.6149 GB, free: 13.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003025/0.4061, allocations: 0 / 0.6149 GB, free: 13.34 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01648/0.4225, allocations: 6.264 MB / 0.621 GB, free: 7.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4226, allocations: 12.03 kB / 0.621 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001686/0.4228, allocations: 119.5 kB / 0.6212 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002211/0.425, allocations: 0.8188 MB / 0.622 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04088/0.4658, allocations: 6.049 MB / 0.6279 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.4783, allocations: 4.08 MB / 0.6319 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.4786, allocations: 275.1 kB / 0.6321 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.4806, allocations: 379.8 kB / 0.6325 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02599/0.5066, allocations: 11.46 MB / 0.6437 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002328/0.5068, allocations: 63.5 kB / 0.6437 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.5079, allocations: 183.8 kB / 0.6439 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.5119, allocations: 2.139 MB / 0.646 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.5325, allocations: 9.359 MB / 0.6551 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06835/0.6008, allocations: 45.1 MB / 0.6992 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.6117, allocations: 3.219 MB / 0.7023 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/0.6151, allocations: 1.884 MB / 0.7042 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.6294, allocations: 6.005 MB / 0.71 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/0.6295, allocations: 47.56 kB / 0.7101 GB, free: 9.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 5.51e-06/0.6295, allocations: 0 / 0.7101 GB, free: 9.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04764/0.6771, allocations: 14.75 MB / 0.7245 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.6773, allocations: 200.9 kB / 0.7247 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/0.6875, allocations: 5.631 MB / 0.7302 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.6878, allocations: 49.7 kB / 0.7302 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003472/0.6913, allocations: 3.877 MB / 0.734 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009492/0.6923, allocations: 0.6863 MB / 0.7347 GB, free: 188 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2711/0.9634, allocations: 1.349 MB / 0.736 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.9634, allocations: 302.3 kB / 0.7363 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/0.9675, allocations: 2.099 MB / 0.7383 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005311/0.9728, allocations: 6.34 MB / 0.7445 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007874/0.9807, allocations: 9.19 MB / 0.7535 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001401/0.9809, allocations: 42.31 kB / 0.7535 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01388/0.9947, allocations: 8.66 MB / 0.762 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.9949, allocations: 68 kB / 0.7621 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/0.9951, allocations: 152 kB / 0.7622 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.9969, allocations: 0.7092 MB / 0.7629 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/1.001, allocations: 1.51 MB / 0.7644 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006489/1.008, allocations: 6.623 MB / 0.7708 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/1.013, allocations: 345.9 kB / 0.7712 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009725/1.014, allocations: 412 kB / 0.7716 GB, free: 128.3 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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (804): * Single equations (assignments): 797 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004318/1.018, allocations: 2.46 MB / 0.774 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009849/1.019, allocations: 480.8 kB / 0.7744 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/1.024, allocations: 2.686 MB / 0.777 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/1.024, allocations: 16 kB / 0.7771 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.024, allocations: 4 kB / 0.7771 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.024, allocations: 15.91 kB / 0.7771 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.037, allocations: 7.399 MB / 0.7843 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.037, allocations: 4 kB / 0.7843 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.038, allocations: 299.5 kB / 0.7846 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/1.039, allocations: 495.5 kB / 0.7851 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/1.039, allocations: 24.38 kB / 0.7851 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/1.045, allocations: 6.003 MB / 0.791 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.045, allocations: 4 kB / 0.791 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006181/1.051, allocations: 4.981 MB / 0.7958 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.052, allocations: 476.3 kB / 0.7963 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.054, allocations: 28 kB / 0.7963 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.056, allocations: 85.81 kB / 0.7964 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/1.056, allocations: 100.8 kB / 0.7965 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.056, allocations: 40 kB / 0.7965 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00596/1.062, allocations: 3.601 MB / 0.8 GB, free: 99.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.062, allocations: 0 / 0.8 GB, free: 99.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007351/1.069, allocations: 1.097 MB / 0.8011 GB, free: 98.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007535/1.077, allocations: 5.619 MB / 0.8066 GB, free: 92.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007826/1.085, allocations: 5 MB / 0.8115 GB, free: 87.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.085, allocations: 0 / 0.8115 GB, free: 87.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.087, allocations: 1.405 MB / 0.8128 GB, free: 86.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.092, allocations: 0.6258 MB / 0.8135 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08115/1.173, allocations: 54.11 MB / 0.8663 GB, free: 24.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007097/1.18, allocations: 3.757 MB / 0.87 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005247/1.185, allocations: 2.136 MB / 0.8721 GB, free: 18.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003816/1.189, allocations: 2.315 MB / 0.8743 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.843e-06/1.189, allocations: 0 / 0.8743 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/1.354, allocations: 90.83 MB / 0.963 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.38/33.73, allocations: 15.61 kB / 0.963 GB, free: 6.012 MB / 0.6387 GB " [Timeout remaining time 626] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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: 38.42022505000932]