Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 208.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 79.81 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3614, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0145/0.376, allocations: 11.09 MB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009569/0.3855, allocations: 4.298 MB / 0.5756 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.3876, allocations: 111.4 kB / 0.5757 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006961/0.3945, allocations: 3.614 MB / 0.5793 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.4011, allocations: 2.264 MB / 0.5815 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.4036, allocations: 0.9904 MB / 0.5824 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009442/0.413, allocations: 6.058 MB / 0.5884 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/0.4189, allocations: 3.514 MB / 0.5918 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.4239, allocations: 1.986 MB / 0.5937 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00516/0.4291, allocations: 2.827 MB / 0.5965 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.4304, allocations: 412 kB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.4335, allocations: 1.354 MB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00275/0.4362, allocations: 2.509 MB / 0.6006 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.4389, allocations: 2.066 MB / 0.6027 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.4493, allocations: 8.829 MB / 0.6113 GB, free: 92 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4493, allocations: 0 / 0.6113 GB, free: 92 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4493, allocations: 0 / 0.6113 GB, free: 92 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002216/0.4495, allocations: 0 / 0.6113 GB, free: 92 kB / 446.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.01433/0.4639, allocations: 6.279 MB / 0.6174 GB, free: 9.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4639, allocations: 12.03 kB / 0.6174 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/0.4655, allocations: 0.8266 MB / 0.6182 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03692/0.5024, allocations: 6.059 MB / 0.6242 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.5131, allocations: 4.083 MB / 0.6281 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.5134, allocations: 287.2 kB / 0.6284 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.5146, allocations: 379.7 kB / 0.6288 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.5355, allocations: 11.53 MB / 0.64 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.5357, allocations: 55.52 kB / 0.6401 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005216/0.5362, allocations: 183.8 kB / 0.6403 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/0.5402, allocations: 2.147 MB / 0.6424 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/0.5611, allocations: 9.344 MB / 0.6515 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06331/0.6244, allocations: 43.58 MB / 0.694 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.6352, allocations: 3.213 MB / 0.6972 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.6385, allocations: 1.86 MB / 0.699 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.6499, allocations: 4.912 MB / 0.7038 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.65, allocations: 52.03 kB / 0.7038 GB, free: 14.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.829e-06/0.65, allocations: 0 / 0.7038 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04177/0.6918, allocations: 15.71 MB / 0.7192 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.6919, allocations: 222.3 kB / 0.7194 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009529/0.7014, allocations: 5.887 MB / 0.7251 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003833/0.7018, allocations: 49.7 kB / 0.7252 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00368/0.7055, allocations: 3.901 MB / 0.729 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/0.7068, allocations: 0.6786 MB / 0.7297 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0026/0.7094, allocations: 1.357 MB / 0.731 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7096, allocations: 301.1 kB / 0.7313 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/0.7129, allocations: 2.074 MB / 0.7333 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2816/0.9945, allocations: 6.37 MB / 0.7395 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007806/1.002, allocations: 9.132 MB / 0.7484 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/1.002, allocations: 42.69 kB / 0.7485 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01215/1.015, allocations: 8.608 MB / 0.7569 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/1.015, allocations: 72.25 kB / 0.757 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.015, allocations: 148 kB / 0.7571 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/1.016, allocations: 0.7296 MB / 0.7578 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/1.02, allocations: 1.503 MB / 0.7593 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/1.026, allocations: 6.698 MB / 0.7658 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/1.031, allocations: 342.5 kB / 0.7661 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000751/1.031, allocations: 414.1 kB / 0.7665 GB, free: 130.6 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.0034/1.035, allocations: 2.46 MB / 0.7689 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00084/1.036, allocations: 483.9 kB / 0.7694 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/1.039, allocations: 2.649 MB / 0.772 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.039, allocations: 16 kB / 0.772 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.039, allocations: 8 kB / 0.772 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.039, allocations: 7.969 kB / 0.772 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.05, allocations: 7.091 MB / 0.7789 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.05, allocations: 0 / 0.7789 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.051, allocations: 255.9 kB / 0.7792 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/1.052, allocations: 0.4911 MB / 0.7797 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.053, allocations: 43.92 kB / 0.7797 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/1.058, allocations: 6.025 MB / 0.7856 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.058, allocations: 4 kB / 0.7856 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.063, allocations: 4.962 MB / 0.7904 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.065, allocations: 478.4 kB / 0.7909 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/1.065, allocations: 28 kB / 0.7909 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.067, allocations: 67.92 kB / 0.791 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/1.067, allocations: 108.3 kB / 0.7911 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/1.067, allocations: 51.98 kB / 0.7911 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004332/1.071, allocations: 3.61 MB / 0.7947 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.071, allocations: 1.969 kB / 0.7947 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005206/1.077, allocations: 1.082 MB / 0.7957 GB, free: 102 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.005313/1.082, allocations: 5.607 MB / 0.8012 GB, free: 96.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006542/1.088, allocations: 4.982 MB / 0.8061 GB, free: 91.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.088, allocations: 4.062 kB / 0.8061 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.09, allocations: 1.401 MB / 0.8074 GB, free: 89.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.093, allocations: 0.6297 MB / 0.8081 GB, free: 89.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06351/1.157, allocations: 54.04 MB / 0.8608 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003032/1.16, allocations: 3.25 MB / 0.864 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003819/1.164, allocations: 2.125 MB / 0.8661 GB, free: 23.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.166, allocations: 2.3 MB / 0.8683 GB, free: 20.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/1.166, allocations: 4 kB / 0.8683 GB, free: 20.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.174/1.34, allocations: 88.12 MB / 0.9544 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.78/19.12, allocations: 0 / 0.9544 GB, free: 13.72 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/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_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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: 22.23513854399789]