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.001489/0.001489, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001387/0.001387, allocations: 210.7 kB / 24.53 MB, free: 4.098 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.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2293/0.2293, allocations: 46.94 MB / 361.6 MB, free: 4.18 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.002231/0.002231, allocations: 75.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2973, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01445/0.3118, allocations: 12.76 MB / 0.574 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.3213, allocations: 4.559 MB / 0.5784 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.3233, allocations: 99.5 kB / 0.5785 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006873/0.3301, allocations: 3.769 MB / 0.5822 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.3357, allocations: 2.249 MB / 0.5844 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.338, allocations: 0.9982 MB / 0.5854 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008862/0.3468, allocations: 6.057 MB / 0.5913 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.3519, allocations: 3.518 MB / 0.5947 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.3553, allocations: 1.986 MB / 0.5967 GB, free: 120 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.3599, allocations: 2.831 MB / 0.5994 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.3611, allocations: 412 kB / 0.5998 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.3644, allocations: 1.482 MB / 0.6013 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.3676, allocations: 2.505 MB / 0.6037 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004072/0.3716, allocations: 2.769 MB / 0.6064 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3828, allocations: 8.794 MB / 0.615 GB, free: 13.26 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3828, allocations: 0 / 0.615 GB, free: 13.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3828, allocations: 0 / 0.615 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002403/0.383, allocations: 0 / 0.615 GB, free: 13.26 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.01343/0.3965, allocations: 6.283 MB / 0.6211 GB, free: 6.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3965, allocations: 12.03 kB / 0.6211 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001253/0.3966, allocations: 119.5 kB / 0.6213 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001164/0.3978, allocations: 0.8188 MB / 0.6221 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03782/0.4356, allocations: 6.067 MB / 0.628 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009239/0.4449, allocations: 4.071 MB / 0.632 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.4451, allocations: 283.1 kB / 0.6322 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.4461, allocations: 379.7 kB / 0.6326 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.4657, allocations: 11.48 MB / 0.6438 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.4658, allocations: 55.56 kB / 0.6439 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.4663, allocations: 179.8 kB / 0.644 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003571/0.4698, allocations: 2.15 MB / 0.6461 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.4879, allocations: 9.363 MB / 0.6553 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05717/0.5451, allocations: 45.17 MB / 0.6994 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009789/0.5549, allocations: 3.221 MB / 0.7025 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.5575, allocations: 1.865 MB / 0.7043 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009724/0.5672, allocations: 5.403 MB / 0.7096 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.5673, allocations: 55.97 kB / 0.7097 GB, free: 9.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.008e-06/0.5673, allocations: 0 / 0.7097 GB, free: 9.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04225/0.6095, allocations: 15.62 MB / 0.7249 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/0.6098, allocations: 222.2 kB / 0.7251 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009252/0.619, allocations: 5.644 MB / 0.7307 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.6193, allocations: 45.7 kB / 0.7307 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/0.6229, allocations: 3.905 MB / 0.7345 GB, free: 292 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.2401/0.863, allocations: 0.6778 MB / 0.7352 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/0.8658, allocations: 1.348 MB / 0.7365 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.8658, allocations: 302.2 kB / 0.7368 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.8689, allocations: 2.078 MB / 0.7388 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/0.873, allocations: 6.315 MB / 0.745 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008209/0.8813, allocations: 9.131 MB / 0.7539 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/0.8814, allocations: 42.41 kB / 0.7539 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01632/0.8977, allocations: 8.619 MB / 0.7624 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.8978, allocations: 72 kB / 0.7624 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/0.898, allocations: 151.9 kB / 0.7626 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.8996, allocations: 0.7231 MB / 0.7633 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/0.9041, allocations: 1.498 MB / 0.7647 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.9104, allocations: 6.756 MB / 0.7713 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/0.9156, allocations: 341.8 kB / 0.7717 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.9166, allocations: 423.4 kB / 0.7721 GB, free: 126.5 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.004575/0.9212, allocations: 2.465 MB / 0.7745 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/0.9223, allocations: 488 kB / 0.7749 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/0.9271, allocations: 2.642 MB / 0.7775 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/0.9271, allocations: 16 kB / 0.7775 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.9272, allocations: 8 kB / 0.7775 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.9272, allocations: 7.969 kB / 0.7775 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.941, allocations: 7.431 MB / 0.7848 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.941, allocations: 4 kB / 0.7848 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.9422, allocations: 256.1 kB / 0.785 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.9435, allocations: 0.4936 MB / 0.7855 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.9437, allocations: 31.98 kB / 0.7856 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.9492, allocations: 6.076 MB / 0.7915 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9492, allocations: 4 kB / 0.7915 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.9556, allocations: 4.962 MB / 0.7963 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.9573, allocations: 475.7 kB / 0.7968 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/0.9586, allocations: 31.94 kB / 0.7968 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/0.9612, allocations: 79.66 kB / 0.7969 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.9616, allocations: 104.9 kB / 0.797 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.9617, allocations: 40 kB / 0.797 GB, free: 101 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007539/0.9693, allocations: 3.621 MB / 0.8006 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9693, allocations: 0 / 0.8006 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007968/0.9772, allocations: 1.087 MB / 0.8016 GB, free: 96.29 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.007611/0.9848, allocations: 5.596 MB / 0.8071 GB, free: 90.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007451/0.9923, allocations: 4.982 MB / 0.812 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.9923, allocations: 4 kB / 0.812 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.994, allocations: 1.4 MB / 0.8133 GB, free: 84.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.9987, allocations: 0.6299 MB / 0.814 GB, free: 83.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07987/1.079, allocations: 54.06 MB / 0.8667 GB, free: 22.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005829/1.084, allocations: 3.769 MB / 0.8704 GB, free: 19.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004673/1.089, allocations: 2.121 MB / 0.8725 GB, free: 16.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003163/1.092, allocations: 2.303 MB / 0.8747 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of SimCode: time 2.044e-06/1.092, allocations: 0 / 0.8747 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/1.278, allocations: 90.03 MB / 0.9627 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.89/33.17, allocations: 15.84 kB / 0.9627 GB, free: 5.043 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.87780156300869]