Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 107.6 kB / 16.46 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 193.4 kB / 17.39 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 207.6 MB / 225.8 MB, free: 11.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.24 MB / 319.9 MB, free: 12.85 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.89 kB / 453.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 61 MB / 0.5025 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01556/0.1196, allocations: 14.29 MB / 0.5164 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009518/0.1291, allocations: 4.684 MB / 0.521 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.131, allocations: 91.75 kB / 0.5211 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007083/0.1381, allocations: 3.823 MB / 0.5248 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006505/0.1446, allocations: 2.49 MB / 0.5273 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.1471, allocations: 0.9982 MB / 0.5282 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2023/0.3494, allocations: 6.018 MB / 0.5341 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005077/0.3545, allocations: 3.97 MB / 0.538 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.3582, allocations: 2.123 MB / 0.5401 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.3631, allocations: 3.119 MB / 0.5431 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.3648, allocations: 456.7 kB / 0.5436 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.3684, allocations: 1.523 MB / 0.545 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004034/0.3724, allocations: 2.779 MB / 0.5478 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00538/0.3778, allocations: 3.09 MB / 0.5508 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.3898, allocations: 9.849 MB / 0.5604 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3898, allocations: 3.344 kB / 0.5604 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3898, allocations: 0 / 0.5604 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003409/0.3901, allocations: 0 / 0.5604 GB, free: 15.94 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.0219/0.412, allocations: 6.918 MB / 0.5672 GB, free: 11.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4121, allocations: 13.61 kB / 0.5672 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002662/0.4147, allocations: 0.9244 MB / 0.5681 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03746/0.4522, allocations: 6.178 MB / 0.5741 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.4629, allocations: 4.873 MB / 0.5789 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.4632, allocations: 304.5 kB / 0.5792 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.4649, allocations: 417.7 kB / 0.5795 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.4905, allocations: 12.88 MB / 0.5921 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/0.4907, allocations: 61.41 kB / 0.5922 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009805/0.4917, allocations: 190.9 kB / 0.5924 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004371/0.496, allocations: 2.507 MB / 0.5948 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02242/0.5185, allocations: 10.58 MB / 0.6051 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06644/0.5849, allocations: 49.55 MB / 0.6535 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5964, allocations: 4.264 MB / 0.6577 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/0.5999, allocations: 2.14 MB / 0.6598 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.6123, allocations: 6.526 MB / 0.6662 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.6124, allocations: 51.59 kB / 0.6662 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=183): time 5.059e-06/0.6124, allocations: 4 kB / 0.6662 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195): time 0.04594/0.6583, allocations: 18 MB / 0.6838 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6585, allocations: 231.2 kB / 0.684 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009513/0.668, allocations: 5.943 MB / 0.6898 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/0.6684, allocations: 53.7 kB / 0.6899 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003488/0.6719, allocations: 4.275 MB / 0.694 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.673, allocations: 0.8023 MB / 0.6948 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/0.6752, allocations: 1.475 MB / 0.6963 GB, free: 10.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6753, allocations: 305.1 kB / 0.6966 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/0.6792, allocations: 2.415 MB / 0.6989 GB, free: 8.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00765/0.6868, allocations: 6.92 MB / 0.7057 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/0.6994, allocations: 10.13 MB / 0.7156 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.6995, allocations: 48 kB / 0.7156 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01911/0.7186, allocations: 9.603 MB / 0.725 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.7187, allocations: 75.75 kB / 0.7251 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/0.7189, allocations: 160 kB / 0.7252 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.7207, allocations: 0.7337 MB / 0.7259 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005558/0.7263, allocations: 1.665 MB / 0.7276 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008618/0.7349, allocations: 6.983 MB / 0.7344 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006011/0.7409, allocations: 387.7 kB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/0.7423, allocations: 450.7 kB / 0.7352 GB, free: 14.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (880): * Single equations (assignments): 873 * 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.005649/0.7479, allocations: 2.699 MB / 0.7378 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.749, allocations: 0.5044 MB / 0.7383 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00644/0.7555, allocations: 3.289 MB / 0.7415 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/0.7555, allocations: 20 kB / 0.7415 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.7555, allocations: 8 kB / 0.7415 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.7555, allocations: 7.969 kB / 0.7416 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.7744, allocations: 8.816 MB / 0.7502 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.7744, allocations: 0 / 0.7502 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.776, allocations: 323.5 kB / 0.7505 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.7774, allocations: 0.4991 MB / 0.751 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.7776, allocations: 38.98 kB / 0.751 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007289/0.7849, allocations: 6.296 MB / 0.7571 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.7849, allocations: 11.88 kB / 0.7572 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009113/0.794, allocations: 5.996 MB / 0.763 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/0.7966, allocations: 0.8341 MB / 0.7638 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009354/0.7976, allocations: 34.27 kB / 0.7639 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/0.7995, allocations: 99.88 kB / 0.764 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.7998, allocations: 120.9 kB / 0.7641 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.8, allocations: 52 kB / 0.7641 GB, free: 132 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.2178/1.018, allocations: 3.801 MB / 0.7678 GB, free: 206 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.018, allocations: 0 / 0.7678 GB, free: 206 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007805/1.026, allocations: 1.237 MB / 0.769 GB, free: 206 MB / 0.6075 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 (154): * Single equations (assignments): 149 * 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.01032/1.036, allocations: 6.642 MB / 0.7755 GB, free: 204.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009626/1.046, allocations: 5.706 MB / 0.7811 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.046, allocations: 1.531 kB / 0.7811 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.048, allocations: 1.666 MB / 0.7827 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/1.052, allocations: 0.6562 MB / 0.7834 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08346/1.136, allocations: 59.63 MB / 0.8416 GB, free: 152.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005613/1.141, allocations: 4.133 MB / 0.8456 GB, free: 149.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005052/1.146, allocations: 2.317 MB / 0.8479 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003031/1.149, allocations: 2.573 MB / 0.8504 GB, free: 144.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/1.149, allocations: 0 / 0.8504 GB, free: 144.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/1.281, allocations: 91.51 MB / 0.9398 GB, free: 52.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.29/23.57, allocations: 15.88 kB / 0.9398 GB, free: 52.97 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches