Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001865, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009563/0.0009563, allocations: 100.7 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.343/0.343, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3473, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.07899/0.4263, allocations: 95.44 MB / 0.6084 GB, free: 9.844 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05509/0.4815, allocations: 18.41 MB / 0.6263 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02547/0.507, allocations: 415 kB / 0.6267 GB, free: 6.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009401/0.5165, allocations: 4.761 MB / 0.6314 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008038/0.5246, allocations: 2.339 MB / 0.6337 GB, free: 15.84 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.528, allocations: 1.057 MB / 0.6347 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.5434, allocations: 10.08 MB / 0.6445 GB, free: 4.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009065/0.5525, allocations: 5.763 MB / 0.6502 GB, free: 14.85 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.5568, allocations: 2.129 MB / 0.6522 GB, free: 12.71 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005777/0.5626, allocations: 3.411 MB / 0.6556 GB, free: 9.289 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.5647, allocations: 376 kB / 0.6559 GB, free: 8.922 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.5694, allocations: 1.478 MB / 0.6574 GB, free: 7.441 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00557/0.5751, allocations: 2.899 MB / 0.6602 GB, free: 4.535 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007687/0.5828, allocations: 3.269 MB / 0.6634 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.5989, allocations: 10.24 MB / 0.6734 GB, free: 6.969 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.599, allocations: 0 / 0.6734 GB, free: 6.969 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.599, allocations: 4 kB / 0.6734 GB, free: 6.965 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005275/0.5995, allocations: 0 / 0.6734 GB, free: 6.965 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.3393/0.9389, allocations: 7.448 MB / 0.6807 GB, free: 134.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/0.939, allocations: 9.406 kB / 0.6807 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.9534, allocations: 2.757 MB / 0.6834 GB, free: 133.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.9672, allocations: 4.19 MB / 0.6875 GB, free: 131.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004565/0.9677, allocations: 366.3 kB / 0.6878 GB, free: 131.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/0.9701, allocations: 488.9 kB / 0.6883 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03312/1.003, allocations: 15.25 MB / 0.7032 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002111/1.004, allocations: 60.81 kB / 0.7032 GB, free: 125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006116/1.004, allocations: 230.7 kB / 0.7035 GB, free: 124.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005496/1.01, allocations: 2.884 MB / 0.7063 GB, free: 124.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/1.038, allocations: 13 MB / 0.719 GB, free: 117.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06904/1.107, allocations: 57.29 MB / 0.7749 GB, free: 58.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/1.121, allocations: 5.798 MB / 0.7806 GB, free: 53.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/1.125, allocations: 3.649 MB / 0.7841 GB, free: 49.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/1.14, allocations: 8.195 MB / 0.7921 GB, free: 41.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/1.141, allocations: 56.16 kB / 0.7922 GB, free: 41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 6.622e-06/1.141, allocations: 0 / 0.7922 GB, free: 41 MB / 490.7 MB Notification: Performance of matching and sorting (n=269): time 0.07776/1.218, allocations: 31.16 MB / 0.8226 GB, free: 9.598 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/1.218, allocations: 239.6 kB / 0.8229 GB, free: 9.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.229, allocations: 6.44 MB / 0.8291 GB, free: 2.863 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000797/1.23, allocations: 69.69 kB / 0.8292 GB, free: 2.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003036/1.233, allocations: 4.353 MB / 0.8335 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/1.234, allocations: 1.034 MB / 0.8345 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003118/1.238, allocations: 1.701 MB / 0.8361 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/1.238, allocations: 301.1 kB / 0.8364 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/1.243, allocations: 3.457 MB / 0.8398 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008506/1.251, allocations: 8.16 MB / 0.8478 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/1.267, allocations: 12.47 MB / 0.8599 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.267, allocations: 52.22 kB / 0.86 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.02791/1.295, allocations: 13.45 MB / 0.8731 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/1.295, allocations: 76 kB / 0.8732 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003052/1.295, allocations: 164 kB / 0.8734 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/1.302, allocations: 2.273 MB / 0.8756 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007009/1.309, allocations: 1.883 MB / 0.8774 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2867/1.595, allocations: 13.44 MB / 0.8905 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/1.603, allocations: 488.7 kB / 0.891 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/1.606, allocations: 492.7 kB / 0.8915 GB, free: 169.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (993): * Single equations (assignments): 986 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006088/1.612, allocations: 3.013 MB / 0.8944 GB, free: 169 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.613, allocations: 0.5368 MB / 0.8949 GB, free: 169 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.624, allocations: 6.986 MB / 0.9018 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/1.624, allocations: 33.38 kB / 0.9018 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.624, allocations: 8.688 kB / 0.9018 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/1.624, allocations: 15.23 kB / 0.9018 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02645/1.651, allocations: 14.64 MB / 0.9161 GB, free: 161.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/1.651, allocations: 2.5 kB / 0.9161 GB, free: 161.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.653, allocations: 446.8 kB / 0.9165 GB, free: 161.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005753/1.659, allocations: 2.039 MB / 0.9185 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005048/1.66, allocations: 48.86 kB / 0.9186 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.676, allocations: 12.77 MB / 0.931 GB, free: 155.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.676, allocations: 6.094 kB / 0.9311 GB, free: 155.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1189/1.795, allocations: 77.08 MB / 1.006 GB, free: 90.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.797, allocations: 0.615 MB / 1.007 GB, free: 89.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/1.798, allocations: 44 kB / 1.007 GB, free: 89.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.801, allocations: 191.7 kB / 1.007 GB, free: 89.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/1.802, allocations: 168.5 kB / 1.007 GB, free: 89.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.802, allocations: 71.98 kB / 1.007 GB, free: 89.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005043/1.807, allocations: 4.126 MB / 1.011 GB, free: 85.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/1.807, allocations: 0 / 1.011 GB, free: 85.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008773/1.816, allocations: 2.175 MB / 1.014 GB, free: 83.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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 {(5,17,72.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006801/1.817, allocations: 185.9 kB / 1.014 GB, free: 82.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.829, allocations: 8.398 MB / 1.022 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/1.829, allocations: 4 kB / 1.022 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005156/1.834, allocations: 3.481 MB / 1.025 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/1.839, allocations: 0.7104 MB / 1.026 GB, free: 70.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/1.865, allocations: 20.14 MB / 1.046 GB, free: 50.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005348/1.871, allocations: 4.704 MB / 1.05 GB, free: 45.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006807/1.877, allocations: 2.699 MB / 1.053 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.879, allocations: 379.4 kB / 1.053 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.723e-06/1.879, allocations: 0 / 1.053 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.4247/2.304, allocations: 84.37 MB / 1.136 GB, free: 149.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches