Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.1 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3612/0.3612, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 55.91 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3418, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.05585/0.3977, allocations: 72.36 MB / 0.5771 GB, free: 2.535 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03826/0.436, allocations: 14.4 MB / 0.5911 GB, free: 8.188 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02227/0.4583, allocations: 315.2 kB / 0.5914 GB, free: 7.879 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008264/0.4666, allocations: 3.738 MB / 0.5951 GB, free: 4.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007849/0.4746, allocations: 2.124 MB / 0.5971 GB, free: 2.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.4775, allocations: 0.9322 MB / 0.5981 GB, free: 2.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.4905, allocations: 8.774 MB / 0.6066 GB, free: 9.238 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007006/0.4976, allocations: 4.536 MB / 0.6111 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.5021, allocations: 1.775 MB / 0.6128 GB, free: 2.852 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005127/0.5073, allocations: 2.874 MB / 0.6156 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.5087, allocations: 292 kB / 0.6159 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.512, allocations: 1.428 MB / 0.6173 GB, free: 14.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.5149, allocations: 2.415 MB / 0.6196 GB, free: 11.83 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003587/0.5185, allocations: 2.679 MB / 0.6222 GB, free: 9.137 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009747/0.5282, allocations: 8.532 MB / 0.6306 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.5283, allocations: 0 / 0.6306 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5283, allocations: 0 / 0.6306 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003073/0.5286, allocations: 0 / 0.6306 GB, free: 0.5781 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01672/0.5453, allocations: 6.141 MB / 0.6366 GB, free: 10.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5454, allocations: 16.03 kB / 0.6366 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.5583, allocations: 2.587 MB / 0.6391 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.5733, allocations: 3.777 MB / 0.6428 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005068/0.5739, allocations: 283.7 kB / 0.6431 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.576, allocations: 383.7 kB / 0.6434 GB, free: 3.262 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/0.6035, allocations: 11.99 MB / 0.6551 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003739/0.6039, allocations: 59.42 kB / 0.6552 GB, free: 6.367 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001783/0.6057, allocations: 179.8 kB / 0.6554 GB, free: 6.191 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00458/0.6103, allocations: 2.272 MB / 0.6576 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.6326, allocations: 9.939 MB / 0.6673 GB, free: 9.961 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3402/0.9729, allocations: 46.82 MB / 0.713 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009084/0.982, allocations: 3.907 MB / 0.7168 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.9844, allocations: 2.139 MB / 0.7189 GB, free: 96.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008951/0.9933, allocations: 5.902 MB / 0.7247 GB, free: 93.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.9934, allocations: 48.86 kB / 0.7247 GB, free: 93.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.168e-06/0.9934, allocations: 1.969 kB / 0.7247 GB, free: 93.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.04594/1.039, allocations: 17.5 MB / 0.7418 GB, free: 86.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/1.039, allocations: 229.2 kB / 0.742 GB, free: 85.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006986/1.046, allocations: 5.684 MB / 0.7476 GB, free: 83.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003743/1.047, allocations: 57.2 kB / 0.7476 GB, free: 83.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.049, allocations: 3.792 MB / 0.7513 GB, free: 80.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008367/1.05, allocations: 0.6576 MB / 0.752 GB, free: 80.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/1.052, allocations: 1.424 MB / 0.7534 GB, free: 79.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/1.052, allocations: 305.1 kB / 0.7537 GB, free: 79.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/1.055, allocations: 2.299 MB / 0.7559 GB, free: 78.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/1.06, allocations: 6.597 MB / 0.7624 GB, free: 71.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008322/1.068, allocations: 9.569 MB / 0.7717 GB, free: 60.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/1.068, allocations: 44 kB / 0.7717 GB, free: 60.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01677/1.085, allocations: 9.632 MB / 0.7811 GB, free: 50.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/1.085, allocations: 71.94 kB / 0.7812 GB, free: 50.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.085, allocations: 156 kB / 0.7814 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/1.088, allocations: 1.235 MB / 0.7826 GB, free: 49.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004665/1.093, allocations: 1.571 MB / 0.7841 GB, free: 47.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/1.101, allocations: 7.899 MB / 0.7918 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/1.106, allocations: 359.4 kB / 0.7922 GB, free: 38.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009494/1.107, allocations: 424 kB / 0.7926 GB, free: 38.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.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 (842): * Single equations (assignments): 835 * 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.003562/1.111, allocations: 2.522 MB / 0.795 GB, free: 35.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/1.112, allocations: 461.9 kB / 0.7955 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/1.117, allocations: 3.392 MB / 0.7988 GB, free: 32.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/1.117, allocations: 16 kB / 0.7988 GB, free: 32.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.117, allocations: 15.88 kB / 0.7988 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.117, allocations: 7.969 kB / 0.7988 GB, free: 32.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/1.131, allocations: 8.316 MB / 0.8069 GB, free: 23.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.131, allocations: 8.031 kB / 0.807 GB, free: 23.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.132, allocations: 251.6 kB / 0.8072 GB, free: 23.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/1.135, allocations: 1 MB / 0.8082 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.135, allocations: 43.45 kB / 0.8082 GB, free: 22.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006855/1.142, allocations: 7.211 MB / 0.8153 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.142, allocations: 7.938 kB / 0.8153 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05827/1.2, allocations: 34.88 MB / 0.8493 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.201, allocations: 0.5224 MB / 0.8498 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006347/1.202, allocations: 29.64 kB / 0.8499 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.203, allocations: 91.88 kB / 0.8499 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/1.204, allocations: 96.75 kB / 0.85 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.204, allocations: 52.06 kB / 0.8501 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006456/1.21, allocations: 3.629 MB / 0.8536 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/1.21, allocations: 0 / 0.8536 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01023/1.221, allocations: 1.598 MB / 0.8552 GB, free: 5.535 MB / 0.5105 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.0005843/1.221, allocations: 165.7 kB / 0.8554 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009095/1.23, allocations: 5.559 MB / 0.8608 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.23, allocations: 112 / 0.8608 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002404/1.233, allocations: 1.634 MB / 0.8624 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/1.237, allocations: 0.58 MB / 0.8629 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2308/1.468, allocations: 14.8 MB / 0.8774 GB, free: 159 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005436/1.473, allocations: 3.927 MB / 0.8812 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005007/1.478, allocations: 2.14 MB / 0.8833 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008171/1.479, allocations: 296.4 kB / 0.8836 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/1.479, allocations: 3.172 kB / 0.8836 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.09228/1.571, allocations: 51.64 MB / 0.934 GB, free: 140 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches