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.00162/0.00162, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.001806/0.001806, allocations: 212.2 kB / 23.78 MB, free: 4.328 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.266/0.266, allocations: 46.96 MB / 360.9 MB, free: 3.863 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 76.16 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 66.07 MB / 0.5608 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01488/0.3558, allocations: 11.1 MB / 0.5716 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009547/0.3653, allocations: 4.291 MB / 0.5758 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.3673, allocations: 99.5 kB / 0.5759 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006903/0.3742, allocations: 3.61 MB / 0.5794 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005762/0.3799, allocations: 2.257 MB / 0.5816 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.3823, allocations: 0.9982 MB / 0.5826 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009026/0.3914, allocations: 6.062 MB / 0.5885 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005031/0.3964, allocations: 3.498 MB / 0.5919 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.4002, allocations: 1.986 MB / 0.5939 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004747/0.4049, allocations: 2.667 MB / 0.5965 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.4061, allocations: 408 kB / 0.5968 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.4092, allocations: 1.338 MB / 0.5982 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002869/0.412, allocations: 2.505 MB / 0.6006 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003259/0.4153, allocations: 2.066 MB / 0.6026 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.4267, allocations: 8.841 MB / 0.6113 GB, free: 184 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4267, allocations: 0 / 0.6113 GB, free: 184 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4267, allocations: 0 / 0.6113 GB, free: 184 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002896/0.427, allocations: 0 / 0.6113 GB, free: 184 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.0176/0.4446, allocations: 6.303 MB / 0.6174 GB, free: 9.805 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.4446, allocations: 15.97 kB / 0.6174 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002359/0.447, allocations: 0.8188 MB / 0.6182 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03995/0.487, allocations: 6.469 MB / 0.6245 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.4976, allocations: 4.094 MB / 0.6285 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.4978, allocations: 291.3 kB / 0.6288 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.4992, allocations: 375.8 kB / 0.6292 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02444/0.5237, allocations: 11.54 MB / 0.6404 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003853/0.5241, allocations: 59.56 kB / 0.6405 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001747/0.5258, allocations: 179.8 kB / 0.6407 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/0.5302, allocations: 2.151 MB / 0.6428 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.5521, allocations: 9.352 MB / 0.6519 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06185/0.614, allocations: 43.73 MB / 0.6946 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.6243, allocations: 3.372 MB / 0.6979 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.6273, allocations: 1.871 MB / 0.6997 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.639, allocations: 4.967 MB / 0.7046 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.461e-05/0.6391, allocations: 52.05 kB / 0.7046 GB, free: 14.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 6.943e-06/0.6391, allocations: 0 / 0.7046 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04265/0.6817, allocations: 16.22 MB / 0.7205 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.6819, allocations: 230.2 kB / 0.7207 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008652/0.6905, allocations: 5.891 MB / 0.7264 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/0.6909, allocations: 49.7 kB / 0.7265 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.6941, allocations: 3.905 MB / 0.7303 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009077/0.695, allocations: 0.6786 MB / 0.731 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/0.6972, allocations: 1.341 MB / 0.7323 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6974, allocations: 309.1 kB / 0.7326 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2828/0.9801, allocations: 2.067 MB / 0.7346 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/0.9861, allocations: 6.369 MB / 0.7408 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/0.9938, allocations: 9.137 MB / 0.7497 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/0.9939, allocations: 42.34 kB / 0.7498 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01355/1.007, allocations: 8.612 MB / 0.7582 GB, free: 137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/1.008, allocations: 68 kB / 0.7582 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/1.008, allocations: 156.1 kB / 0.7584 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.009, allocations: 0.7181 MB / 0.7591 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/1.013, allocations: 1.503 MB / 0.7606 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/1.019, allocations: 6.699 MB / 0.7671 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005324/1.025, allocations: 349.1 kB / 0.7674 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000925/1.026, allocations: 416.3 kB / 0.7678 GB, free: 128 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.003579/1.029, allocations: 2.462 MB / 0.7702 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008595/1.03, allocations: 482.3 kB / 0.7707 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/1.034, allocations: 2.654 MB / 0.7733 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.034, allocations: 16 kB / 0.7733 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.034, allocations: 11.94 kB / 0.7733 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.034, allocations: 11.14 kB / 0.7733 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.045, allocations: 7.107 MB / 0.7803 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.045, allocations: 4 kB / 0.7803 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.046, allocations: 251.6 kB / 0.7805 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/1.047, allocations: 0.4968 MB / 0.781 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.048, allocations: 28 kB / 0.781 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/1.053, allocations: 6.031 MB / 0.7869 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.053, allocations: 7.828 kB / 0.7869 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/1.058, allocations: 4.968 MB / 0.7918 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.059, allocations: 475.5 kB / 0.7922 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000526/1.06, allocations: 24 kB / 0.7923 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.061, allocations: 75.91 kB / 0.7923 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/1.061, allocations: 108.6 kB / 0.7924 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/1.062, allocations: 40 kB / 0.7925 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00428/1.066, allocations: 3.613 MB / 0.796 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.066, allocations: 4 kB / 0.796 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005143/1.071, allocations: 1.092 MB / 0.7971 GB, free: 99.14 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.005339/1.076, allocations: 5.597 MB / 0.8025 GB, free: 93.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006304/1.083, allocations: 4.984 MB / 0.8074 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.083, allocations: 4.25 kB / 0.8074 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.084, allocations: 1.402 MB / 0.8088 GB, free: 87.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.087, allocations: 0.6252 MB / 0.8094 GB, free: 86.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0612/1.149, allocations: 54.05 MB / 0.8622 GB, free: 25.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/1.152, allocations: 3.252 MB / 0.8653 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004001/1.156, allocations: 2.121 MB / 0.8674 GB, free: 20.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/1.159, allocations: 2.303 MB / 0.8697 GB, free: 18.03 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.159, allocations: 0 / 0.8697 GB, free: 18.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/1.316, allocations: 85.37 MB / 0.953 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.93/19.24, allocations: 3.625 kB / 0.953 GB, free: 13.47 MB / 0.6387 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.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_trunk_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.51983636012301]