Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",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.001309/0.001309, allocations: 105.1 kB / 16.27 MB, free: 5.973 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.00143/0.00143, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.562/1.562, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2168/0.2168, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.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.001617/0.001617, allocations: 67.97 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09943, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01317/0.1126, allocations: 13.71 MB / 454.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009865/0.1225, allocations: 4.603 MB / 458.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.1244, allocations: 91.75 kB / 459 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006145/0.1306, allocations: 3.757 MB / 462.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005204/0.1358, allocations: 2.362 MB / 465.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.138, allocations: 1.006 MB / 466.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.1452, allocations: 5.917 MB / 472.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006096/0.1513, allocations: 4.698 MB / 476.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.1545, allocations: 2.075 MB / 478.8 MB, free: 420 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.1583, allocations: 2.823 MB / 481.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.1597, allocations: 448 kB / 482.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.1627, allocations: 1.463 MB / 483.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.1656, allocations: 2.626 MB / 486.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004814/0.1704, allocations: 3.002 MB / 489.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.1805, allocations: 9.237 MB / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1806, allocations: 0 / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1806, allocations: 0 / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003359/0.1809, allocations: 4 kB / 498.4 MB, free: 12.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01521/0.1961, allocations: 6.576 MB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1962, allocations: 15.89 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0019/0.1981, allocations: 0.8892 MB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04022/0.2383, allocations: 6.121 MB / 0.5 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.2493, allocations: 4.723 MB / 0.5047 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.2497, allocations: 303.7 kB / 0.5049 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.2515, allocations: 403.7 kB / 0.5053 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.2726, allocations: 12.48 MB / 0.5175 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.2728, allocations: 67.36 kB / 0.5176 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008462/0.2736, allocations: 191.8 kB / 0.5178 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003906/0.2776, allocations: 2.401 MB / 0.5201 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2178/0.4953, allocations: 10.28 MB / 0.5301 GB, free: 78.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05945/0.5548, allocations: 48.38 MB / 0.5774 GB, free: 45.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.5654, allocations: 4.667 MB / 0.582 GB, free: 43.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.5684, allocations: 2.316 MB / 0.5842 GB, free: 41.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.5797, allocations: 6.89 MB / 0.5909 GB, free: 35.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.5798, allocations: 59.8 kB / 0.591 GB, free: 35.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 5.019e-06/0.5798, allocations: 0 / 0.591 GB, free: 35.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.04186/0.6216, allocations: 16.18 MB / 0.6068 GB, free: 18.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.6218, allocations: 197.2 kB / 0.607 GB, free: 18.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/0.6326, allocations: 5.855 MB / 0.6127 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005176/0.6332, allocations: 57.7 kB / 0.6128 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002416/0.6356, allocations: 4.001 MB / 0.6167 GB, free: 8.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009468/0.6366, allocations: 0.7599 MB / 0.6174 GB, free: 8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003087/0.6397, allocations: 1.434 MB / 0.6188 GB, free: 6.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.6398, allocations: 305.1 kB / 0.6191 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/0.6427, allocations: 2.383 MB / 0.6214 GB, free: 3.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00534/0.648, allocations: 6.802 MB / 0.6281 GB, free: 10.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.6604, allocations: 9.954 MB / 0.6378 GB, free: 14.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/0.6606, allocations: 44 kB / 0.6378 GB, free: 14.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.0191/0.6797, allocations: 9.425 MB / 0.647 GB, free: 5.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.6799, allocations: 72 kB / 0.6471 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002244/0.6801, allocations: 156 kB / 0.6473 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.682, allocations: 0.7154 MB / 0.648 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/0.6878, allocations: 1.649 MB / 0.6496 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007662/0.6955, allocations: 6.845 MB / 0.6563 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005535/0.701, allocations: 387.4 kB / 0.6566 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/0.7025, allocations: 442.5 kB / 0.657 GB, free: 10.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * 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.005239/0.7077, allocations: 2.631 MB / 0.6596 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/0.709, allocations: 485.7 kB / 0.6601 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006479/0.7155, allocations: 3.234 MB / 0.6632 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/0.7156, allocations: 20 kB / 0.6633 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.7156, allocations: 4 kB / 0.6633 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.7156, allocations: 7.969 kB / 0.6633 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.7344, allocations: 8.585 MB / 0.6717 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/0.7345, allocations: 4 kB / 0.6717 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.7364, allocations: 363.8 kB / 0.672 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.7379, allocations: 498.1 kB / 0.6725 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.7382, allocations: 32 kB / 0.6725 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007222/0.7454, allocations: 6.203 MB / 0.6786 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7454, allocations: 8.062 kB / 0.6786 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00895/0.7544, allocations: 5.83 MB / 0.6843 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/0.7572, allocations: 0.7954 MB / 0.685 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/0.7585, allocations: 35.91 kB / 0.6851 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/0.7609, allocations: 95.88 kB / 0.6852 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.7612, allocations: 129 kB / 0.6853 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.7614, allocations: 47.98 kB / 0.6853 GB, free: 13.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007111/0.7685, allocations: 3.755 MB / 0.689 GB, free: 9.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7685, allocations: 0 / 0.689 GB, free: 9.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006654/0.7752, allocations: 1.21 MB / 0.6902 GB, free: 8.379 MB / 494.1 MB 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 (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,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.009332/0.7845, allocations: 6.48 MB / 0.6965 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/0.7965, allocations: 6.912 MB / 0.7033 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.7966, allocations: 3.938 kB / 0.7033 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.7991, allocations: 1.755 MB / 0.705 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/0.8056, allocations: 0.6586 MB / 0.7056 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.283/1.089, allocations: 71.19 MB / 0.7751 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004504/1.093, allocations: 4.015 MB / 0.7791 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005287/1.099, allocations: 2.288 MB / 0.7813 GB, free: 140 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003157/1.102, allocations: 2.514 MB / 0.7838 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/1.102, allocations: 3 kB / 0.7838 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.232, allocations: 95.02 MB / 0.8766 GB, free: 42.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.7, allocations: 7.984 kB / 0.8766 GB, free: 42.4 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches