Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001402/0.001402, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.001533/0.001533, allocations: 217.1 kB / 22.99 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3059/0.3059, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.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: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00326/0.00326, allocations: 67.89 kB / 468.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1552, allocations: 61.05 MB / 0.5167 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01844/0.1737, allocations: 12.41 MB / 0.5288 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.1869, allocations: 4.467 MB / 0.5332 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/0.1909, allocations: 107.5 kB / 0.5333 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008764/0.1996, allocations: 3.695 MB / 0.5369 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2933/0.4929, allocations: 2.49 MB / 0.5393 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.4964, allocations: 0.9982 MB / 0.5403 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.5092, allocations: 6.029 MB / 0.5462 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007591/0.5168, allocations: 3.695 MB / 0.5498 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006192/0.523, allocations: 2.165 MB / 0.5519 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007022/0.53, allocations: 2.946 MB / 0.5548 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.5326, allocations: 461.4 kB / 0.5552 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/0.5377, allocations: 1.378 MB / 0.5566 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005389/0.5431, allocations: 2.759 MB / 0.5593 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00708/0.5502, allocations: 2.244 MB / 0.5615 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.5676, allocations: 9.742 MB / 0.571 GB, free: 2.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5676, allocations: 0 / 0.571 GB, free: 2.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5676, allocations: 3.938 kB / 0.571 GB, free: 2.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005639/0.5682, allocations: 5.031 kB / 0.571 GB, free: 2.004 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.03159/0.5998, allocations: 6.642 MB / 0.5775 GB, free: 13.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5998, allocations: 7.969 kB / 0.5775 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/0.6148, allocations: 2.696 MB / 0.5801 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.6296, allocations: 4.019 MB / 0.584 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/0.6301, allocations: 309.2 kB / 0.5843 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/0.6326, allocations: 412.9 kB / 0.5847 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03621/0.6688, allocations: 13.06 MB / 0.5975 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005008/0.6693, allocations: 67.52 kB / 0.5976 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/0.6719, allocations: 191.7 kB / 0.5977 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005519/0.6774, allocations: 2.502 MB / 0.6002 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02886/0.7063, allocations: 10.8 MB / 0.6107 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08415/0.7904, allocations: 46.66 MB / 0.6563 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.803, allocations: 3.914 MB / 0.6601 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004286/0.8072, allocations: 2.269 MB / 0.6623 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/0.8224, allocations: 5.792 MB / 0.668 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.386e-05/0.8225, allocations: 59.58 kB / 0.668 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.781e-06/0.8225, allocations: 0 / 0.668 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.06335/0.8859, allocations: 19.48 MB / 0.6871 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.8861, allocations: 223.1 kB / 0.6873 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/0.8991, allocations: 5.099 MB / 0.6923 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007898/0.8999, allocations: 53.7 kB / 0.6923 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004447/0.9043, allocations: 4.254 MB / 0.6965 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/0.9059, allocations: 0.8087 MB / 0.6973 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005267/0.9111, allocations: 1.544 MB / 0.6988 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.9113, allocations: 301.1 kB / 0.6991 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005437/0.9167, allocations: 2.634 MB / 0.7016 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009851/0.9266, allocations: 7.219 MB / 0.7087 GB, free: 8.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/0.9431, allocations: 10.51 MB / 0.7189 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004356/0.9435, allocations: 44 kB / 0.719 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02923/0.9727, allocations: 10.51 MB / 0.7292 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.9731, allocations: 72 kB / 0.7293 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003907/0.9734, allocations: 160 kB / 0.7295 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.9773, allocations: 1.236 MB / 0.7307 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006762/0.984, allocations: 1.719 MB / 0.7324 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.9965, allocations: 8.161 MB / 0.7403 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006992/1.003, allocations: 411.7 kB / 0.7407 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/1.005, allocations: 455 kB / 0.7411 GB, free: 4.742 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (918): * Single equations (assignments): 911 * 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.007398/1.013, allocations: 2.698 MB / 0.7438 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/1.014, allocations: 437.1 kB / 0.7442 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/1.024, allocations: 3.942 MB / 0.748 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-05/1.024, allocations: 20 kB / 0.7481 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-05/1.024, allocations: 4 kB / 0.7481 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/1.024, allocations: 11.97 kB / 0.7481 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.048, allocations: 8.191 MB / 0.7561 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.048, allocations: 7.938 kB / 0.7561 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.049, allocations: 328.1 kB / 0.7564 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/1.053, allocations: 1.001 MB / 0.7574 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003306/1.053, allocations: 43.98 kB / 0.7574 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3122/1.365, allocations: 7.49 MB / 0.7647 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.365, allocations: 6.469 kB / 0.7647 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.377, allocations: 6.817 MB / 0.7714 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/1.38, allocations: 0.6752 MB / 0.7721 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00092/1.38, allocations: 30.75 kB / 0.7721 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.382, allocations: 113.6 kB / 0.7722 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/1.383, allocations: 125.8 kB / 0.7723 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.383, allocations: 53.97 kB / 0.7724 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00582/1.389, allocations: 2.984 MB / 0.7753 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.389, allocations: 1.219 kB / 0.7753 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008452/1.397, allocations: 1.281 MB / 0.7765 GB, free: 186.7 MB / 0.5919 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 (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,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.0005385/1.398, allocations: 173.1 kB / 0.7767 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.409, allocations: 6.068 MB / 0.7826 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.409, allocations: 1.312 kB / 0.7826 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002931/1.412, allocations: 1.788 MB / 0.7844 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/1.416, allocations: 0.5102 MB / 0.7849 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.439, allocations: 12.22 MB / 0.7968 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005467/1.445, allocations: 3.628 MB / 0.8003 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004852/1.45, allocations: 2.218 MB / 0.8025 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000835/1.451, allocations: 285.8 kB / 0.8028 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/1.451, allocations: 0 / 0.8028 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.07239/1.523, allocations: 43.89 MB / 0.8456 GB, free: 136.8 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.297720966860652]