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.001859/0.001859, allocations: 114 kB / 20.44 MB, free: 1.469 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.001979/0.001979, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.606/1.606, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2905/0.2905, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 87.84 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3192, allocations: 66.09 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01735/0.3365, allocations: 12.72 MB / 0.5732 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3475, allocations: 4.555 MB / 0.5776 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.3502, allocations: 99.5 kB / 0.5777 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008606/0.3588, allocations: 3.769 MB / 0.5814 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007156/0.366, allocations: 2.241 MB / 0.5836 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.3692, allocations: 1.006 MB / 0.5846 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.3799, allocations: 6.046 MB / 0.5905 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006712/0.3866, allocations: 3.51 MB / 0.5939 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.3912, allocations: 1.986 MB / 0.5958 GB, free: 192 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005361/0.3966, allocations: 2.823 MB / 0.5986 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.3982, allocations: 408 kB / 0.599 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/0.4021, allocations: 1.482 MB / 0.6004 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00393/0.4061, allocations: 2.497 MB / 0.6029 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005394/0.4115, allocations: 2.769 MB / 0.6056 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4252, allocations: 8.774 MB / 0.6141 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4253, allocations: 0 / 0.6141 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4253, allocations: 3.938 kB / 0.6141 GB, free: 13.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000408/0.4257, allocations: 4 kB / 0.6141 GB, free: 13.36 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.01869/0.4444, allocations: 6.256 MB / 0.6203 GB, free: 7.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.4444, allocations: 16.02 kB / 0.6203 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00279/0.4472, allocations: 0.8188 MB / 0.6211 GB, free: 6.199 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/0.4872, allocations: 6.055 MB / 0.627 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.4986, allocations: 4.071 MB / 0.631 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.499, allocations: 283.3 kB / 0.6312 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.5006, allocations: 375.8 kB / 0.6316 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.5259, allocations: 11.47 MB / 0.6428 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/0.5262, allocations: 55.53 kB / 0.6428 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.5274, allocations: 175.8 kB / 0.643 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00425/0.5316, allocations: 2.15 MB / 0.6451 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/0.5539, allocations: 9.363 MB / 0.6543 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07187/0.6258, allocations: 45.09 MB / 0.6983 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.6367, allocations: 3.219 MB / 0.7014 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/0.6401, allocations: 1.886 MB / 0.7033 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/0.6545, allocations: 6.004 MB / 0.7091 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.6546, allocations: 51.55 kB / 0.7092 GB, free: 9.645 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 6.562e-06/0.6546, allocations: 0 / 0.7092 GB, free: 9.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04717/0.7018, allocations: 14.75 MB / 0.7236 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.7019, allocations: 204.9 kB / 0.7238 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.7131, allocations: 5.628 MB / 0.7293 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.7135, allocations: 53.7 kB / 0.7293 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004067/0.7175, allocations: 3.877 MB / 0.7331 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.7187, allocations: 0.6902 MB / 0.7338 GB, free: 332 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2508/0.9695, allocations: 1.346 MB / 0.7351 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.9696, allocations: 302.3 kB / 0.7354 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/0.9737, allocations: 2.099 MB / 0.7374 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005947/0.9797, allocations: 6.343 MB / 0.7436 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008135/0.9878, allocations: 9.194 MB / 0.7526 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/0.988, allocations: 45.78 kB / 0.7527 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01548/1.003, allocations: 8.643 MB / 0.7611 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.004, allocations: 72.97 kB / 0.7612 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/1.004, allocations: 148 kB / 0.7613 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/1.005, allocations: 0.711 MB / 0.762 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/1.01, allocations: 1.513 MB / 0.7635 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/1.016, allocations: 6.622 MB / 0.77 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.021, allocations: 340.7 kB / 0.7703 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008907/1.022, allocations: 419.7 kB / 0.7707 GB, free: 126.7 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.004168/1.026, allocations: 2.454 MB / 0.7731 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/1.027, allocations: 486.8 kB / 0.7735 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/1.031, allocations: 2.68 MB / 0.7762 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/1.031, allocations: 20 kB / 0.7762 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.031, allocations: 6.625 kB / 0.7762 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.031, allocations: 12.28 kB / 0.7762 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.044, allocations: 7.397 MB / 0.7834 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.044, allocations: 4.281 kB / 0.7834 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.045, allocations: 303.5 kB / 0.7837 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/1.046, allocations: 500 kB / 0.7842 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.047, allocations: 28 kB / 0.7842 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/1.052, allocations: 5.995 MB / 0.7901 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.052, allocations: 4 kB / 0.7901 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/1.058, allocations: 4.982 MB / 0.7949 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.06, allocations: 473.9 kB / 0.7954 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009833/1.061, allocations: 31.98 kB / 0.7954 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.062, allocations: 71.86 kB / 0.7955 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.063, allocations: 104.7 kB / 0.7956 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.063, allocations: 51.67 kB / 0.7956 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005677/1.069, allocations: 3.601 MB / 0.7992 GB, free: 97.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.069, allocations: 4 kB / 0.7992 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005751/1.074, allocations: 1.088 MB / 0.8002 GB, free: 96.83 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.006696/1.081, allocations: 5.624 MB / 0.8057 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007242/1.088, allocations: 4.992 MB / 0.8106 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.088, allocations: 0 / 0.8106 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.09, allocations: 1.409 MB / 0.812 GB, free: 84.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/1.095, allocations: 0.6321 MB / 0.8126 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.073/1.168, allocations: 54.12 MB / 0.8654 GB, free: 23.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004758/1.172, allocations: 3.757 MB / 0.8691 GB, free: 19.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004601/1.177, allocations: 2.129 MB / 0.8712 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00307/1.18, allocations: 2.311 MB / 0.8734 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.18, allocations: 0 / 0.8734 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/1.363, allocations: 90.81 MB / 0.9621 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.33/34.69, allocations: 3.938 kB / 0.9621 GB, free: 4.656 MB / 0.6387 GB " [Timeout remaining time 625] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 38.84338205913082]