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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.375, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01433/0.3894, allocations: 12.68 MB / 0.5434 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.4002, allocations: 4.491 MB / 0.5478 GB, free: 140 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.4035, allocations: 86.06 kB / 0.5478 GB, free: 124 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006878/0.4104, allocations: 3.713 MB / 0.5515 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007443/0.4179, allocations: 2.175 MB / 0.5536 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.4207, allocations: 1.006 MB / 0.5546 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009591/0.4303, allocations: 6.044 MB / 0.5605 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005774/0.4361, allocations: 4.551 MB / 0.5649 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.4398, allocations: 1.955 MB / 0.5668 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.4436, allocations: 2.617 MB / 0.5694 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.4449, allocations: 408 kB / 0.5698 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.448, allocations: 1.439 MB / 0.5712 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002594/0.4506, allocations: 2.447 MB / 0.5736 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003728/0.4544, allocations: 2.711 MB / 0.5762 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.4654, allocations: 8.623 MB / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4655, allocations: 0 / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4655, allocations: 0 / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003097/0.4658, allocations: 4 kB / 0.5846 GB, free: 10.58 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01441/0.4803, allocations: 6.016 MB / 0.5905 GB, free: 4.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4803, allocations: 8.031 kB / 0.5905 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.4918, allocations: 2.544 MB / 0.593 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009452/0.5013, allocations: 3.738 MB / 0.5967 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.5016, allocations: 279.5 kB / 0.5969 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.5033, allocations: 383.7 kB / 0.5973 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/0.5262, allocations: 11.61 MB / 0.6086 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.5264, allocations: 59.44 kB / 0.6087 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/0.5269, allocations: 183.8 kB / 0.6089 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003451/0.5304, allocations: 2.147 MB / 0.611 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.5498, allocations: 9.62 MB / 0.6203 GB, free: 5.008 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05665/0.6065, allocations: 45.77 MB / 0.665 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.6166, allocations: 3.912 MB / 0.6689 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.6194, allocations: 2.139 MB / 0.671 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.6294, allocations: 5.87 MB / 0.6767 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.6295, allocations: 52.05 kB / 0.6767 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 7.253e-06/0.6295, allocations: 4 kB / 0.6767 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.0458/0.6753, allocations: 17.36 MB / 0.6937 GB, free: 8.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6755, allocations: 226.1 kB / 0.6939 GB, free: 7.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007433/0.6829, allocations: 5.623 MB / 0.6994 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.6832, allocations: 53.69 kB / 0.6995 GB, free: 2.184 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.6857, allocations: 3.705 MB / 0.7031 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007291/0.6864, allocations: 0.656 MB / 0.7037 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.6881, allocations: 1.411 MB / 0.7051 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6882, allocations: 305.1 kB / 0.7054 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/0.6913, allocations: 2.293 MB / 0.7076 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/0.6974, allocations: 6.555 MB / 0.714 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3236/1.021, allocations: 9.499 MB / 0.7233 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.021, allocations: 43.28 kB / 0.7233 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02006/1.041, allocations: 9.574 MB / 0.7327 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.041, allocations: 76.19 kB / 0.7328 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/1.042, allocations: 152.2 kB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/1.044, allocations: 1.231 MB / 0.7341 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/1.049, allocations: 1.559 MB / 0.7356 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008524/1.058, allocations: 8.464 MB / 0.7439 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/1.063, allocations: 364.1 kB / 0.7442 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008683/1.064, allocations: 422.7 kB / 0.7447 GB, free: 142 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 (836): * Single equations (assignments): 829 * 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%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003289/1.067, allocations: 2.465 MB / 0.7471 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/1.068, allocations: 449.8 kB / 0.7475 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/1.073, allocations: 3.395 MB / 0.7508 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.073, allocations: 16 kB / 0.7508 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.073, allocations: 8 kB / 0.7508 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.073, allocations: 11.97 kB / 0.7508 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.085, allocations: 8.184 MB / 0.7588 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.085, allocations: 11.94 kB / 0.7588 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.087, allocations: 251.6 kB / 0.7591 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/1.089, allocations: 1.007 MB / 0.7601 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.089, allocations: 28 kB / 0.7601 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007087/1.096, allocations: 7.808 MB / 0.7677 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.096, allocations: 7.828 kB / 0.7677 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007093/1.103, allocations: 5.854 MB / 0.7734 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.105, allocations: 0.5146 MB / 0.7739 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/1.105, allocations: 39.92 kB / 0.774 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.107, allocations: 87.88 kB / 0.7741 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/1.107, allocations: 100.8 kB / 0.7742 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.107, allocations: 47.94 kB / 0.7742 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005195/1.112, allocations: 3.592 MB / 0.7777 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.112, allocations: 0 / 0.7777 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00682/1.119, allocations: 1.15 MB / 0.7788 GB, free: 107.7 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.0004898/1.12, allocations: 154.9 kB / 0.779 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007263/1.127, allocations: 5.568 MB / 0.7844 GB, free: 102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.127, allocations: 0 / 0.7844 GB, free: 102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.129, allocations: 1.61 MB / 0.786 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.132, allocations: 0.5983 MB / 0.7866 GB, free: 99.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.147, allocations: 10.75 MB / 0.7971 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003021/1.15, allocations: 3.772 MB / 0.8008 GB, free: 85.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004034/1.154, allocations: 2.112 MB / 0.8028 GB, free: 83.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/1.155, allocations: 291.4 kB / 0.8031 GB, free: 82.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.155, allocations: 0 / 0.8031 GB, free: 82.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.06774/1.222, allocations: 40.57 MB / 0.8427 GB, free: 42.47 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches