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.002053/0.002053, allocations: 78.8 kB / 20.52 MB, free: 1.281 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.002436/0.002436, allocations: 167 kB / 23.76 MB, free: 4.473 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.553/1.553, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.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.221/0.221, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.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.002439/0.002439, allocations: 63.91 kB / 407.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1395, allocations: 61.04 MB / 468.9 MB, free: 8.219 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2897/0.4292, allocations: 12.41 MB / 481.3 MB, free: 43.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00903/0.4382, allocations: 4.458 MB / 485.7 MB, free: 42.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.4405, allocations: 110.1 kB / 485.8 MB, free: 42.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005515/0.446, allocations: 3.69 MB / 489.5 MB, free: 40.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.4517, allocations: 2.501 MB / 492 MB, free: 39.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.4538, allocations: 0.9965 MB / 493 MB, free: 38.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006607/0.4604, allocations: 6.025 MB / 499.1 MB, free: 36.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/0.4642, allocations: 3.698 MB / 0.491 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.4673, allocations: 2.167 MB / 0.4931 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00479/0.4721, allocations: 2.952 MB / 0.496 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.4737, allocations: 456.4 kB / 0.4964 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/0.4775, allocations: 1.379 MB / 0.4978 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004139/0.4816, allocations: 2.757 MB / 0.5004 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006579/0.4882, allocations: 2.244 MB / 0.5026 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.5047, allocations: 9.75 MB / 0.5122 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5047, allocations: 1.062 kB / 0.5122 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5047, allocations: 0 / 0.5122 GB, free: 26.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000493/0.5052, allocations: 3.938 kB / 0.5122 GB, free: 26.06 MB / 446.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.02221/0.5274, allocations: 6.646 MB / 0.5187 GB, free: 21.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5274, allocations: 9.938 kB / 0.5187 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.5406, allocations: 2.809 MB / 0.5214 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.552, allocations: 4.008 MB / 0.5253 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.5523, allocations: 313.9 kB / 0.5256 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.5538, allocations: 411 kB / 0.526 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.5738, allocations: 13.06 MB / 0.5388 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.574, allocations: 59.56 kB / 0.5388 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.5745, allocations: 195.8 kB / 0.539 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/0.5779, allocations: 2.503 MB / 0.5415 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.6022, allocations: 10.78 MB / 0.552 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07082/0.6731, allocations: 46.79 MB / 0.5977 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.6849, allocations: 4.072 MB / 0.6017 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/0.6886, allocations: 2.262 MB / 0.6039 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.7004, allocations: 5.86 MB / 0.6096 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.7004, allocations: 55.66 kB / 0.6096 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=183): time 4.238e-06/0.7004, allocations: 0 / 0.6096 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195): time 0.05334/0.7538, allocations: 20.01 MB / 0.6292 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.7539, allocations: 227.1 kB / 0.6294 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007719/0.7616, allocations: 5.103 MB / 0.6344 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004278/0.7621, allocations: 53.64 kB / 0.6344 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003401/0.7655, allocations: 4.253 MB / 0.6386 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.7665, allocations: 0.8026 MB / 0.6394 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/0.7688, allocations: 1.547 MB / 0.6409 GB, free: 11.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7689, allocations: 304.9 kB / 0.6412 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/0.7732, allocations: 2.634 MB / 0.6437 GB, free: 8.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008185/0.7814, allocations: 7.213 MB / 0.6508 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/0.7951, allocations: 10.52 MB / 0.6611 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/0.7952, allocations: 44 kB / 0.6611 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02076/0.816, allocations: 10.5 MB / 0.6714 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.8161, allocations: 72 kB / 0.6714 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002161/0.8163, allocations: 160 kB / 0.6716 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/0.8197, allocations: 1.24 MB / 0.6728 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/0.8262, allocations: 1.723 MB / 0.6745 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.8382, allocations: 8.152 MB / 0.6824 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008289/0.8465, allocations: 407.5 kB / 0.6828 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/0.8483, allocations: 456 kB / 0.6833 GB, free: 10.95 MB / 0.5919 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.007203/0.8555, allocations: 2.696 MB / 0.6859 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/0.857, allocations: 437.1 kB / 0.6863 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009322/0.8663, allocations: 3.942 MB / 0.6902 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.8664, allocations: 35.92 kB / 0.6902 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/0.8664, allocations: 4 kB / 0.6902 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/0.8664, allocations: 11.97 kB / 0.6902 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3074/1.174, allocations: 8.204 MB / 0.6982 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.174, allocations: 6.438 kB / 0.6982 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.176, allocations: 323.7 kB / 0.6985 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/1.178, allocations: 1.002 MB / 0.6995 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/1.178, allocations: 33.94 kB / 0.6995 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007449/1.186, allocations: 7.505 MB / 0.7069 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.186, allocations: 2.969 kB / 0.7069 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00946/1.195, allocations: 6.821 MB / 0.7135 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/1.197, allocations: 0.6732 MB / 0.7142 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006796/1.198, allocations: 36.88 kB / 0.7142 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.2, allocations: 113.8 kB / 0.7143 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/1.2, allocations: 127 kB / 0.7145 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.2, allocations: 55.17 kB / 0.7145 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004248/1.204, allocations: 2.979 MB / 0.7174 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.204, allocations: 1.562 kB / 0.7174 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007681/1.212, allocations: 1.281 MB / 0.7187 GB, free: 174.4 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.0005653/1.213, allocations: 167.1 kB / 0.7188 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.224, allocations: 6.068 MB / 0.7248 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.224, allocations: 3.516 kB / 0.7248 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003691/1.227, allocations: 1.783 MB / 0.7265 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004735/1.232, allocations: 0.5187 MB / 0.727 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.258, allocations: 12.22 MB / 0.7389 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006305/1.265, allocations: 3.616 MB / 0.7425 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005218/1.27, allocations: 2.219 MB / 0.7446 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008434/1.271, allocations: 288.4 kB / 0.7449 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.271, allocations: 0 / 0.7449 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.06688/1.338, allocations: 37.75 MB / 0.7818 GB, free: 133.4 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/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: 7.781409317976795]