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.001305/0.001305, allocations: 116.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001525, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4175, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01728/0.4348, allocations: 12.68 MB / 0.5434 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.4461, allocations: 4.499 MB / 0.5478 GB, free: 152 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003694/0.4499, allocations: 85.84 kB / 0.5478 GB, free: 136 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007807/0.4577, allocations: 3.714 MB / 0.5515 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008257/0.466, allocations: 2.241 MB / 0.5537 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.469, allocations: 0.9983 MB / 0.5546 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009564/0.4786, allocations: 6.042 MB / 0.5605 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00692/0.4856, allocations: 4.555 MB / 0.565 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.4894, allocations: 1.955 MB / 0.5669 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.4939, allocations: 2.621 MB / 0.5695 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001532/0.4955, allocations: 412 kB / 0.5699 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.5001, allocations: 1.432 MB / 0.5712 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003846/0.504, allocations: 2.451 MB / 0.5736 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00628/0.5103, allocations: 2.707 MB / 0.5763 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.5234, allocations: 8.62 MB / 0.5847 GB, free: 10.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5235, allocations: 0 / 0.5847 GB, free: 10.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5235, allocations: 0 / 0.5847 GB, free: 10.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000513/0.524, allocations: 0 / 0.5847 GB, free: 10.52 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.01766/0.5417, allocations: 6.02 MB / 0.5906 GB, free: 4.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5417, allocations: 8.031 kB / 0.5906 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.5539, allocations: 2.544 MB / 0.5931 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009621/0.5635, allocations: 3.734 MB / 0.5967 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.5639, allocations: 283.5 kB / 0.597 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.5657, allocations: 383.7 kB / 0.5974 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.5933, allocations: 11.61 MB / 0.6087 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/0.5936, allocations: 59.44 kB / 0.6087 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/0.5952, allocations: 183.8 kB / 0.6089 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003927/0.5992, allocations: 2.147 MB / 0.611 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.6204, allocations: 9.625 MB / 0.6204 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06704/0.6875, allocations: 45.77 MB / 0.6651 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.6983, allocations: 3.912 MB / 0.6689 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/0.7013, allocations: 2.139 MB / 0.671 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.7125, allocations: 5.87 MB / 0.6768 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.7126, allocations: 52.05 kB / 0.6768 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.068e-06/0.7126, allocations: 0 / 0.6768 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.05578/0.7684, allocations: 17.38 MB / 0.6938 GB, free: 8.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.7687, allocations: 218.2 kB / 0.694 GB, free: 7.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/0.7802, allocations: 5.623 MB / 0.6995 GB, free: 2.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004944/0.7807, allocations: 53.98 kB / 0.6995 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003181/0.7839, allocations: 3.705 MB / 0.7031 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.785, allocations: 0.656 MB / 0.7038 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001891/0.7869, allocations: 1.415 MB / 0.7052 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.787, allocations: 309.1 kB / 0.7055 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/0.7902, allocations: 2.289 MB / 0.7077 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006053/0.7963, allocations: 6.555 MB / 0.7141 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.408/1.204, allocations: 9.496 MB / 0.7234 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002348/1.205, allocations: 42.75 kB / 0.7234 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01842/1.223, allocations: 9.583 MB / 0.7328 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/1.223, allocations: 70.12 kB / 0.7328 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002327/1.223, allocations: 151.9 kB / 0.733 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/1.226, allocations: 1.228 MB / 0.7342 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.231, allocations: 1.561 MB / 0.7357 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008588/1.24, allocations: 8.465 MB / 0.744 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/1.245, allocations: 361 kB / 0.7443 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.247, allocations: 419 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.004709/1.251, allocations: 2.473 MB / 0.7471 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.252, allocations: 456 kB / 0.7476 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/1.259, allocations: 3.39 MB / 0.7509 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.259, allocations: 20 kB / 0.7509 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/1.259, allocations: 4 kB / 0.7509 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.259, allocations: 11.98 kB / 0.7509 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.273, allocations: 8.192 MB / 0.7589 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.273, allocations: 0 / 0.7589 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.274, allocations: 255.6 kB / 0.7592 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/1.276, allocations: 1.001 MB / 0.7601 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.276, allocations: 35.98 kB / 0.7602 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/1.283, allocations: 7.799 MB / 0.7678 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.283, allocations: 0 / 0.7678 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/1.29, allocations: 5.855 MB / 0.7735 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.291, allocations: 0.5278 MB / 0.774 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007163/1.292, allocations: 31.94 kB / 0.774 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.293, allocations: 91.88 kB / 0.7741 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.294, allocations: 96.81 kB / 0.7742 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.294, allocations: 47.94 kB / 0.7743 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004106/1.298, allocations: 3.592 MB / 0.7778 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.298, allocations: 0 / 0.7778 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004883/1.303, allocations: 1.151 MB / 0.7789 GB, free: 107.6 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.000347/1.303, allocations: 154.9 kB / 0.779 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006509/1.31, allocations: 5.558 MB / 0.7845 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.31, allocations: 0 / 0.7845 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.311, allocations: 1.62 MB / 0.7861 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.003071/1.315, allocations: 0.5986 MB / 0.7866 GB, free: 99.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.331, allocations: 10.74 MB / 0.7971 GB, free: 88.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002983/1.334, allocations: 3.776 MB / 0.8008 GB, free: 85.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003849/1.338, allocations: 2.116 MB / 0.8029 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/1.338, allocations: 291.4 kB / 0.8032 GB, free: 82.71 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/1.338, allocations: 0 / 0.8032 GB, free: 82.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.06443/1.403, allocations: 40.63 MB / 0.8428 GB, free: 42.33 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