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.002005/0.002005, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002237/0.002237, allocations: 213 kB / 23.73 MB, free: 4.164 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.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2462/0.2462, allocations: 46.96 MB / 360.8 MB, free: 3.918 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.002789/0.002789, allocations: 83.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3608, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01417/0.3749, allocations: 11.1 MB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009799/0.3847, allocations: 4.295 MB / 0.5757 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.3867, allocations: 99.5 kB / 0.5758 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007056/0.3938, allocations: 3.61 MB / 0.5793 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.4002, allocations: 2.257 MB / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.4029, allocations: 0.9982 MB / 0.5825 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009514/0.4124, allocations: 6.058 MB / 0.5884 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004818/0.4173, allocations: 3.494 MB / 0.5919 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.4209, allocations: 1.998 MB / 0.5938 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004585/0.4255, allocations: 2.659 MB / 0.5964 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.4267, allocations: 412 kB / 0.5968 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.4298, allocations: 1.33 MB / 0.5981 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003088/0.4329, allocations: 2.501 MB / 0.6005 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003542/0.4364, allocations: 2.074 MB / 0.6026 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.4494, allocations: 8.841 MB / 0.6112 GB, free: 80 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4494, allocations: 0 / 0.6112 GB, free: 80 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4494, allocations: 0 / 0.6112 GB, free: 80 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003306/0.4497, allocations: 4 kB / 0.6112 GB, free: 76 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.01677/0.4665, allocations: 6.271 MB / 0.6173 GB, free: 9.734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4665, allocations: 8.031 kB / 0.6173 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001769/0.4683, allocations: 0.8228 MB / 0.6181 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03748/0.5058, allocations: 6.059 MB / 0.6241 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.5169, allocations: 4.091 MB / 0.628 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.5173, allocations: 283.3 kB / 0.6283 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.5191, allocations: 379.7 kB / 0.6287 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02404/0.5431, allocations: 11.53 MB / 0.6399 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/0.5434, allocations: 55.56 kB / 0.64 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/0.5446, allocations: 183.8 kB / 0.6402 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003904/0.5485, allocations: 2.143 MB / 0.6423 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/0.5692, allocations: 9.344 MB / 0.6514 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06434/0.6335, allocations: 43.58 MB / 0.6939 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.6437, allocations: 3.23 MB / 0.6971 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.6466, allocations: 1.857 MB / 0.6989 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.6584, allocations: 4.908 MB / 0.7037 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/0.6585, allocations: 51.98 kB / 0.7038 GB, free: 14.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 6.703e-06/0.6585, allocations: 0 / 0.7038 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04515/0.7036, allocations: 15.71 MB / 0.7191 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.7038, allocations: 226.2 kB / 0.7193 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/0.7146, allocations: 5.887 MB / 0.7251 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000378/0.715, allocations: 49.7 kB / 0.7251 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003622/0.7186, allocations: 3.905 MB / 0.7289 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.7196, allocations: 0.6786 MB / 0.7296 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003238/0.7229, allocations: 1.353 MB / 0.7309 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.723, allocations: 301.1 kB / 0.7312 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/0.7269, allocations: 2.074 MB / 0.7332 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3231/1.05, allocations: 6.362 MB / 0.7394 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008568/1.059, allocations: 9.131 MB / 0.7483 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/1.059, allocations: 42.94 kB / 0.7484 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01429/1.073, allocations: 8.624 MB / 0.7568 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/1.073, allocations: 68 kB / 0.7569 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/1.073, allocations: 148 kB / 0.757 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.075, allocations: 0.7243 MB / 0.7577 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/1.079, allocations: 1.501 MB / 0.7592 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/1.085, allocations: 6.696 MB / 0.7657 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.09, allocations: 339.1 kB / 0.766 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009373/1.091, allocations: 421.8 kB / 0.7665 GB, free: 128.9 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.003654/1.094, allocations: 2.461 MB / 0.7689 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.095, allocations: 483.3 kB / 0.7693 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/1.099, allocations: 2.65 MB / 0.7719 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/1.099, allocations: 16 kB / 0.7719 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.099, allocations: 8 kB / 0.7719 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.099, allocations: 7.641 kB / 0.7719 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.11, allocations: 7.096 MB / 0.7789 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.11, allocations: 1.562 kB / 0.7789 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.111, allocations: 259.6 kB / 0.7791 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/1.112, allocations: 0.4934 MB / 0.7796 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.112, allocations: 28 kB / 0.7796 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005024/1.117, allocations: 6.029 MB / 0.7855 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.117, allocations: 7.938 kB / 0.7855 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005277/1.123, allocations: 4.955 MB / 0.7904 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.124, allocations: 477 kB / 0.7908 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/1.125, allocations: 28.06 kB / 0.7908 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.126, allocations: 75.73 kB / 0.7909 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/1.126, allocations: 100.6 kB / 0.791 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/1.126, allocations: 51.98 kB / 0.7911 GB, free: 105 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004363/1.131, allocations: 3.606 MB / 0.7946 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/1.131, allocations: 192 / 0.7946 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005939/1.137, allocations: 1.092 MB / 0.7956 GB, free: 100.4 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.005894/1.142, allocations: 5.606 MB / 0.8011 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00723/1.15, allocations: 4.985 MB / 0.806 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.15, allocations: 0 / 0.806 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.151, allocations: 1.409 MB / 0.8074 GB, free: 88.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/1.155, allocations: 0.6221 MB / 0.808 GB, free: 87.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06504/1.22, allocations: 54.04 MB / 0.8607 GB, free: 26.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/1.223, allocations: 3.252 MB / 0.8639 GB, free: 23.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003971/1.227, allocations: 2.117 MB / 0.866 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/1.229, allocations: 2.307 MB / 0.8682 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.229, allocations: 4 kB / 0.8682 GB, free: 19.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1819/1.411, allocations: 85.28 MB / 0.9515 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/19.88, allocations: 17.34 kB / 0.9515 GB, free: 14.76 MB / 0.6387 GB " [Timeout remaining time 640] (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: 23.252364312764257]