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.001403/0.001403, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001435/0.001435, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.541/1.541, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2477/0.2477, allocations: 46.89 MB / 357.4 MB, free: 10.48 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="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.002283/0.002283, allocations: 83.86 kB / 0.4913 GB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1278, allocations: 66 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01589/0.1437, allocations: 12.7 MB / 0.5681 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.1545, allocations: 4.516 MB / 0.5725 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.1573, allocations: 87.75 kB / 0.5726 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007942/0.1652, allocations: 3.75 MB / 0.5763 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.1716, allocations: 2.237 MB / 0.5785 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.1744, allocations: 0.9982 MB / 0.5794 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009772/0.1841, allocations: 6.035 MB / 0.5853 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/0.1901, allocations: 3.804 MB / 0.589 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.1945, allocations: 1.963 MB / 0.591 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2992/0.4937, allocations: 2.812 MB / 0.5937 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.4961, allocations: 407.5 kB / 0.5941 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.5007, allocations: 1.479 MB / 0.5955 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004591/0.5052, allocations: 2.496 MB / 0.598 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008531/0.5138, allocations: 2.765 MB / 0.6007 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.5319, allocations: 8.784 MB / 0.6092 GB, free: 7.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5319, allocations: 3.469 kB / 0.6093 GB, free: 7.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5319, allocations: 0 / 0.6093 GB, free: 7.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004672/0.5324, allocations: 1.219 kB / 0.6093 GB, free: 7.789 MB / 446.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.02566/0.558, allocations: 6.331 MB / 0.6154 GB, free: 5.141 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.5581, allocations: 10.97 kB / 0.6154 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003943/0.562, allocations: 0.8178 MB / 0.6162 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03805/0.6001, allocations: 6.064 MB / 0.6222 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.6124, allocations: 4.151 MB / 0.6262 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.6127, allocations: 279.3 kB / 0.6265 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/0.6153, allocations: 381.1 kB / 0.6268 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/0.6459, allocations: 11.46 MB / 0.638 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.6463, allocations: 66.03 kB / 0.6381 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/0.6486, allocations: 176.3 kB / 0.6383 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004445/0.653, allocations: 2.153 MB / 0.6404 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.6779, allocations: 9.354 MB / 0.6495 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07687/0.7548, allocations: 45.27 MB / 0.6937 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.7659, allocations: 3.668 MB / 0.6973 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/0.7695, allocations: 1.88 MB / 0.6991 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/0.7848, allocations: 6.244 MB / 0.7052 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/0.7849, allocations: 62.86 kB / 0.7053 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 6.152e-06/0.7849, allocations: 0 / 0.7053 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.05099/0.8359, allocations: 14.98 MB / 0.7199 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.836, allocations: 196.9 kB / 0.7201 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/0.8507, allocations: 5.636 MB / 0.7256 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/0.8512, allocations: 52.23 kB / 0.7257 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005147/0.8564, allocations: 3.872 MB / 0.7295 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.8577, allocations: 0.6965 MB / 0.7301 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004903/0.8626, allocations: 1.348 MB / 0.7314 GB, free: 9.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8628, allocations: 305.1 kB / 0.7317 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/0.8675, allocations: 2.098 MB / 0.7338 GB, free: 7.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009656/0.8771, allocations: 6.347 MB / 0.74 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/0.8905, allocations: 9.185 MB / 0.749 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/0.8907, allocations: 44 kB / 0.749 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02042/0.9111, allocations: 8.651 MB / 0.7574 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.9113, allocations: 68 kB / 0.7575 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000327/0.9116, allocations: 152 kB / 0.7577 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.9138, allocations: 0.7061 MB / 0.7583 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005492/0.9193, allocations: 1.521 MB / 0.7598 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.9295, allocations: 6.831 MB / 0.7665 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006095/0.9356, allocations: 342.3 kB / 0.7668 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/0.9372, allocations: 419.9 kB / 0.7672 GB, free: 1.246 MB / 0.5762 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.00632/0.9435, allocations: 2.451 MB / 0.7696 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.9447, allocations: 480.8 kB / 0.7701 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006338/0.9511, allocations: 2.69 MB / 0.7727 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/0.9511, allocations: 18.66 kB / 0.7727 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/0.9511, allocations: 4 kB / 0.7727 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.9512, allocations: 11.97 kB / 0.7727 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/0.9723, allocations: 7.425 MB / 0.78 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.9723, allocations: 4.281 kB / 0.78 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.9739, allocations: 299.5 kB / 0.7803 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.9755, allocations: 0.4903 MB / 0.7808 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/0.9759, allocations: 24 kB / 0.7808 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008767/0.9847, allocations: 6.22 MB / 0.7869 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.9847, allocations: 3.938 kB / 0.7869 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009586/0.9942, allocations: 4.978 MB / 0.7917 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/0.9961, allocations: 0.5368 MB / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/0.9975, allocations: 31.98 kB / 0.7923 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/1, allocations: 71.92 kB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/1, allocations: 107.5 kB / 0.7924 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.001, allocations: 40 kB / 0.7925 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008582/1.009, allocations: 3.601 MB / 0.796 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/1.009, allocations: 3.938 kB / 0.796 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008072/1.017, allocations: 1.09 MB / 0.7971 GB, free: 2.262 MB / 0.6075 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.01091/1.028, allocations: 5.628 MB / 0.8026 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.039, allocations: 4.988 MB / 0.8074 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.039, allocations: 4.375 kB / 0.8074 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.041, allocations: 1.41 MB / 0.8088 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00567/1.047, allocations: 0.6414 MB / 0.8094 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3731/1.42, allocations: 54 MB / 0.8622 GB, free: 224.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006814/1.427, allocations: 3.765 MB / 0.8659 GB, free: 223.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006018/1.433, allocations: 2.136 MB / 0.8679 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003941/1.437, allocations: 2.311 MB / 0.8702 GB, free: 221.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.372e-06/1.437, allocations: 0 / 0.8702 GB, free: 221.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/1.58, allocations: 85.48 MB / 0.9537 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.86/31.44, allocations: 3.938 kB / 0.9537 GB, free: 146.5 MB / 0.6544 GB " [Timeout remaining time 628] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 35.627345690038055]