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.001211/0.001211, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 78.69 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1297, allocations: 62.43 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0137/0.1434, allocations: 12.66 MB / 494.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1545, allocations: 4.504 MB / 498.6 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.1574, allocations: 87.75 kB / 498.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00668/0.1641, allocations: 3.707 MB / 0.4906 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.17, allocations: 2.179 MB / 0.4928 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.1723, allocations: 0.9942 MB / 0.4937 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008161/0.1805, allocations: 6.05 MB / 0.4996 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005555/0.186, allocations: 4.557 MB / 0.5041 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2498/0.4358, allocations: 1.949 MB / 0.506 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004311/0.4402, allocations: 2.605 MB / 0.5085 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.4417, allocations: 407.6 kB / 0.5089 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.4451, allocations: 1.437 MB / 0.5103 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003497/0.4487, allocations: 2.427 MB / 0.5127 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006182/0.4549, allocations: 2.707 MB / 0.5153 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.4673, allocations: 8.62 MB / 0.5238 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4673, allocations: 2.438 kB / 0.5238 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4673, allocations: 2.766 kB / 0.5238 GB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002692/0.4676, allocations: 0 / 0.5238 GB, free: 14.02 MB / 382.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.01672/0.4843, allocations: 6.011 MB / 0.5296 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4844, allocations: 10.34 kB / 0.5296 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4964, allocations: 2.547 MB / 0.5321 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/0.5051, allocations: 3.742 MB / 0.5358 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.5053, allocations: 278.4 kB / 0.5361 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.5067, allocations: 380.6 kB / 0.5364 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.5284, allocations: 11.61 MB / 0.5478 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/0.5287, allocations: 62.33 kB / 0.5478 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006211/0.5293, allocations: 178 kB / 0.548 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003398/0.5327, allocations: 2.152 MB / 0.5501 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.5517, allocations: 9.621 MB / 0.5595 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05898/0.6108, allocations: 45.77 MB / 0.6042 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009616/0.6204, allocations: 3.912 MB / 0.608 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.6236, allocations: 2.13 MB / 0.6101 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.6347, allocations: 5.861 MB / 0.6158 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.6348, allocations: 63.59 kB / 0.6159 GB, free: 8.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.829e-06/0.6348, allocations: 0 / 0.6159 GB, free: 8.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.04449/0.6793, allocations: 17.35 MB / 0.6328 GB, free: 7.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.6794, allocations: 226.2 kB / 0.633 GB, free: 7.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009188/0.6886, allocations: 5.615 MB / 0.6385 GB, free: 1.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005687/0.6893, allocations: 48.83 kB / 0.6386 GB, free: 1.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003298/0.6926, allocations: 3.716 MB / 0.6422 GB, free: 13.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.6938, allocations: 0.6606 MB / 0.6428 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002071/0.6959, allocations: 1.409 MB / 0.6442 GB, free: 11.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.696, allocations: 308.5 kB / 0.6445 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.6993, allocations: 2.285 MB / 0.6467 GB, free: 9.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/0.7054, allocations: 6.551 MB / 0.6531 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.7158, allocations: 9.518 MB / 0.6624 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.7159, allocations: 44 kB / 0.6625 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01967/0.7356, allocations: 9.574 MB / 0.6718 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.7357, allocations: 79.92 kB / 0.6719 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/0.7359, allocations: 148.9 kB / 0.672 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/0.739, allocations: 1.236 MB / 0.6732 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00528/0.7443, allocations: 1.556 MB / 0.6748 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.7548, allocations: 8.47 MB / 0.683 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007384/0.7622, allocations: 371.5 kB / 0.6834 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/0.7639, allocations: 422.6 kB / 0.6838 GB, free: 15.26 MB / 0.5294 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.005889/0.7698, allocations: 2.463 MB / 0.6862 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.7709, allocations: 458 kB / 0.6866 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006195/0.7771, allocations: 3.392 MB / 0.6899 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.7772, allocations: 23.94 kB / 0.69 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.7772, allocations: 4 kB / 0.69 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.7772, allocations: 11.97 kB / 0.69 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/0.7942, allocations: 8.177 MB / 0.698 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.7943, allocations: 0 / 0.698 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7955, allocations: 267.7 kB / 0.6982 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.7982, allocations: 0.9965 MB / 0.6992 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.7984, allocations: 31.98 kB / 0.6992 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00869/0.8071, allocations: 7.8 MB / 0.7068 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8071, allocations: 0 / 0.7068 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009034/0.8162, allocations: 5.858 MB / 0.7126 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/0.8184, allocations: 0.5186 MB / 0.7131 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007109/0.8191, allocations: 28.2 kB / 0.7131 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.8207, allocations: 102.4 kB / 0.7132 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.821, allocations: 96.75 kB / 0.7133 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.8211, allocations: 44 kB / 0.7133 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.289/1.11, allocations: 3.593 MB / 0.7168 GB, free: 189.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.032e-06/1.11, allocations: 0 / 0.7168 GB, free: 189.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01111/1.121, allocations: 1.147 MB / 0.718 GB, free: 189.6 MB / 0.545 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.0007908/1.122, allocations: 156.9 kB / 0.7181 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.133, allocations: 5.555 MB / 0.7235 GB, free: 188.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/1.133, allocations: 0 / 0.7235 GB, free: 188.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.136, allocations: 1.624 MB / 0.7251 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/1.139, allocations: 0.6034 MB / 0.7257 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.159, allocations: 10.76 MB / 0.7362 GB, free: 183 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/1.164, allocations: 3.77 MB / 0.7399 GB, free: 181.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004156/1.168, allocations: 2.11 MB / 0.742 GB, free: 181.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/1.169, allocations: 290 kB / 0.7422 GB, free: 181.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.169, allocations: 3.938 kB / 0.7422 GB, free: 181.4 MB / 0.545 GB Notification: Performance of Templates: time 0.06329/1.232, allocations: 38.34 MB / 0.7797 GB, free: 148 MB / 0.545 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches