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.001653/0.001653, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001842/0.001842, allocations: 207.1 kB / 23.73 MB, free: 4.391 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.533/1.533, 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.2448/0.2448, allocations: 46.94 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] 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.002746/0.002746, allocations: 80.16 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4166, allocations: 66.09 MB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01719/0.4338, allocations: 11.09 MB / 0.5715 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.4455, allocations: 4.295 MB / 0.5757 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.4485, allocations: 99.5 kB / 0.5758 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008071/0.4566, allocations: 3.606 MB / 0.5793 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.4637, allocations: 2.265 MB / 0.5816 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.4665, allocations: 0.9943 MB / 0.5825 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009636/0.4761, allocations: 6.058 MB / 0.5884 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006197/0.4823, allocations: 3.498 MB / 0.5919 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004227/0.4866, allocations: 1.994 MB / 0.5938 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004929/0.4915, allocations: 2.659 MB / 0.5964 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.4931, allocations: 408 kB / 0.5968 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.4968, allocations: 1.338 MB / 0.5981 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003819/0.5006, allocations: 2.505 MB / 0.6005 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005108/0.5057, allocations: 2.07 MB / 0.6026 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.5197, allocations: 8.833 MB / 0.6112 GB, free: 236 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.5197, allocations: 3.984 kB / 0.6112 GB, free: 232 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5197, allocations: 3.938 kB / 0.6112 GB, free: 228 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003699/0.52, allocations: 0 / 0.6112 GB, free: 228 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.02019/0.5402, allocations: 6.272 MB / 0.6173 GB, free: 9.879 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5403, allocations: 11.97 kB / 0.6173 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002843/0.5431, allocations: 0.8228 MB / 0.6181 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03907/0.5822, allocations: 6.059 MB / 0.6241 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.5939, allocations: 4.091 MB / 0.628 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.5942, allocations: 287.3 kB / 0.6283 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.5961, allocations: 375.8 kB / 0.6287 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/0.6235, allocations: 11.53 MB / 0.6399 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002707/0.6238, allocations: 51.58 kB / 0.64 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/0.6253, allocations: 179.8 kB / 0.6402 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/0.6296, allocations: 2.154 MB / 0.6423 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.6515, allocations: 9.342 MB / 0.6514 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06621/0.7177, allocations: 43.59 MB / 0.694 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.7287, allocations: 3.207 MB / 0.6971 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.732, allocations: 1.857 MB / 0.6989 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.7444, allocations: 4.916 MB / 0.7037 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/0.7445, allocations: 55.98 kB / 0.7038 GB, free: 15.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 5.431e-06/0.7445, allocations: 0 / 0.7038 GB, free: 15.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04576/0.7902, allocations: 15.7 MB / 0.7191 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.7904, allocations: 218.3 kB / 0.7193 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/0.8006, allocations: 5.899 MB / 0.7251 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.8008, allocations: 45.7 kB / 0.7251 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003293/0.8041, allocations: 3.901 MB / 0.7289 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009966/0.8051, allocations: 0.6786 MB / 0.7296 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/0.8075, allocations: 1.349 MB / 0.7309 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8076, allocations: 309.1 kB / 0.7312 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/0.8109, allocations: 2.074 MB / 0.7332 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.32/1.131, allocations: 6.362 MB / 0.7394 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009359/1.14, allocations: 9.132 MB / 0.7483 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002565/1.141, allocations: 42.75 kB / 0.7484 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01581/1.156, allocations: 8.617 MB / 0.7568 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/1.156, allocations: 71.61 kB / 0.7569 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.157, allocations: 152 kB / 0.757 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/1.158, allocations: 0.7106 MB / 0.7577 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004113/1.162, allocations: 1.513 MB / 0.7592 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/1.168, allocations: 6.693 MB / 0.7657 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.174, allocations: 344.4 kB / 0.7661 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.175, allocations: 417.8 kB / 0.7664 GB, free: 129.2 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.005641/1.181, allocations: 2.46 MB / 0.7689 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/1.183, allocations: 486.8 kB / 0.7693 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/1.188, allocations: 2.65 MB / 0.7719 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/1.188, allocations: 16 kB / 0.7719 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/1.188, allocations: 12.81 kB / 0.7719 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/1.188, allocations: 5.297 kB / 0.7719 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/1.204, allocations: 7.089 MB / 0.7789 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.204, allocations: 4 kB / 0.7789 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.205, allocations: 251.9 kB / 0.7791 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/1.206, allocations: 0.4927 MB / 0.7796 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.206, allocations: 28 kB / 0.7796 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005458/1.212, allocations: 6.036 MB / 0.7855 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.212, allocations: 7.938 kB / 0.7855 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005969/1.218, allocations: 4.962 MB / 0.7904 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.219, allocations: 476.9 kB / 0.7908 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.221, allocations: 24 kB / 0.7908 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.223, allocations: 76 kB / 0.7909 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.223, allocations: 108.7 kB / 0.791 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.223, allocations: 47.94 kB / 0.7911 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006105/1.229, allocations: 3.613 MB / 0.7946 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.229, allocations: 0 / 0.7946 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007734/1.237, allocations: 1.087 MB / 0.7956 GB, free: 100.6 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.008876/1.246, allocations: 5.599 MB / 0.8011 GB, free: 94.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007396/1.253, allocations: 4.984 MB / 0.806 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.253, allocations: 0 / 0.806 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/1.255, allocations: 1.405 MB / 0.8074 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.26, allocations: 0.6291 MB / 0.808 GB, free: 87.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07321/1.333, allocations: 54.05 MB / 0.8607 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003501/1.337, allocations: 3.252 MB / 0.8639 GB, free: 23.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004238/1.341, allocations: 2.109 MB / 0.866 GB, free: 21.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002614/1.344, allocations: 2.311 MB / 0.8682 GB, free: 19.49 MB / 0.5606 GB Notification: Performance of SimCode: time 1.492e-06/1.344, allocations: 0 / 0.8682 GB, free: 19.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1663/1.51, allocations: 85.29 MB / 0.9515 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/19.47, allocations: 3.984 kB / 0.9515 GB, free: 15.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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.510136160999537]