Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 199.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.6 MB / 243.4 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007528/0.0007528, allocations: 95.69 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2972/0.2972, allocations: 44.82 MB / 392.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002823, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3087, allocations: 62.97 MB / 0.5159 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0494/0.3582, allocations: 65.7 MB / 0.58 GB, free: 6.164 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03584/0.3941, allocations: 13.75 MB / 0.5935 GB, free: 9.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01498/0.4091, allocations: 311.2 kB / 0.5938 GB, free: 9.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.42, allocations: 3.476 MB / 0.5972 GB, free: 6.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02761/0.4476, allocations: 10.22 MB / 0.6071 GB, free: 11.76 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.4524, allocations: 0.8387 MB / 0.6079 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07419/0.5267, allocations: 62.12 MB / 0.6686 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008921/0.5357, allocations: 6.117 MB / 0.6746 GB, free: 6.504 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.5389, allocations: 1.603 MB / 0.6761 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.5426, allocations: 2.465 MB / 0.6786 GB, free: 2.422 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.5437, allocations: 172 kB / 0.6787 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.5467, allocations: 1.275 MB / 0.68 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2635/0.8102, allocations: 2.186 MB / 0.6821 GB, free: 65.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003365/0.8136, allocations: 2.344 MB / 0.6844 GB, free: 65.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007953/0.8216, allocations: 6.831 MB / 0.6911 GB, free: 65.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.8216, allocations: 6.25 kB / 0.6911 GB, free: 65.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8216, allocations: 0 / 0.6911 GB, free: 65.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003558/0.822, allocations: 0 / 0.6911 GB, free: 65.38 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01211/0.8341, allocations: 5.077 MB / 0.696 GB, free: 63.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8342, allocations: 11.16 kB / 0.696 GB, free: 63.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.8456, allocations: 2.654 MB / 0.6986 GB, free: 62.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009179/0.8548, allocations: 3.716 MB / 0.7023 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.8551, allocations: 287.8 kB / 0.7025 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.8568, allocations: 385.6 kB / 0.7029 GB, free: 62.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.8799, allocations: 11.99 MB / 0.7146 GB, free: 59.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.8801, allocations: 58.42 kB / 0.7147 GB, free: 59.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005996/0.8807, allocations: 180.9 kB / 0.7148 GB, free: 59.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.884, allocations: 2.264 MB / 0.717 GB, free: 59.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.9015, allocations: 9.916 MB / 0.7267 GB, free: 57.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04704/0.9486, allocations: 46.84 MB / 0.7725 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009043/0.9577, allocations: 3.924 MB / 0.7763 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.9605, allocations: 2.131 MB / 0.7784 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009388/0.9699, allocations: 5.885 MB / 0.7841 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.97, allocations: 52.83 kB / 0.7842 GB, free: 9.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 6.061e-06/0.97, allocations: 0 / 0.7842 GB, free: 9.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.04124/1.011, allocations: 17.47 MB / 0.8012 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.011, allocations: 224.6 kB / 0.8015 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008181/1.02, allocations: 5.656 MB / 0.807 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/1.02, allocations: 43.89 kB / 0.807 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002851/1.023, allocations: 3.804 MB / 0.8107 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/1.024, allocations: 0.6584 MB / 0.8114 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/1.024, allocations: 136 kB / 0.8115 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004776/1.025, allocations: 0.5994 MB / 0.8121 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/1.028, allocations: 2.27 MB / 0.8143 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005886/1.034, allocations: 6.572 MB / 0.8207 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.044, allocations: 9.544 MB / 0.83 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/1.045, allocations: 44 kB / 0.8301 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.0187/1.063, allocations: 9.571 MB / 0.8394 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.064, allocations: 76.22 kB / 0.8395 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/1.064, allocations: 152 kB / 0.8397 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/1.067, allocations: 1.24 MB / 0.8409 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/1.072, allocations: 1.567 MB / 0.8424 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009794/1.082, allocations: 7.897 MB / 0.8501 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/1.088, allocations: 367.5 kB / 0.8505 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.089, allocations: 430.6 kB / 0.8509 GB, free: 6.52 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005912/1.095, allocations: 2.525 MB / 0.8533 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.097, allocations: 458 kB / 0.8538 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006912/1.104, allocations: 3.391 MB / 0.8571 GB, free: 288 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/1.104, allocations: 23.52 kB / 0.8571 GB, free: 268 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/1.104, allocations: 4 kB / 0.8571 GB, free: 264 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.104, allocations: 11.97 kB / 0.8571 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.121, allocations: 8.294 MB / 0.8652 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.121, allocations: 4 kB / 0.8652 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.122, allocations: 252.2 kB / 0.8655 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/1.125, allocations: 1.004 MB / 0.8664 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/1.125, allocations: 32 kB / 0.8665 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008999/1.134, allocations: 7.23 MB / 0.8735 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.134, allocations: 7.094 kB / 0.8735 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00954/1.143, allocations: 5.857 MB / 0.8793 GB, free: 9.297 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.145, allocations: 0.5263 MB / 0.8798 GB, free: 8.746 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.146, allocations: 27.98 kB / 0.8798 GB, free: 8.719 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.148, allocations: 95.88 kB / 0.8799 GB, free: 8.625 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/1.149, allocations: 95.91 kB / 0.88 GB, free: 8.531 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.149, allocations: 48 kB / 0.88 GB, free: 8.484 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007311/1.156, allocations: 3.593 MB / 0.8835 GB, free: 4.914 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.156, allocations: 0 / 0.8835 GB, free: 4.914 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007141/1.163, allocations: 1.175 MB / 0.8847 GB, free: 3.742 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005498/1.164, allocations: 167.2 kB / 0.8848 GB, free: 3.586 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009593/1.174, allocations: 5.545 MB / 0.8903 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.174, allocations: 0.625 kB / 0.8903 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/1.176, allocations: 1.609 MB / 0.8918 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/1.183, allocations: 0.5822 MB / 0.8924 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2511/1.434, allocations: 13.39 MB / 0.9055 GB, free: 231.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005511/1.44, allocations: 3.837 MB / 0.9092 GB, free: 231.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.441, allocations: 339.8 kB / 0.9095 GB, free: 231.1 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/1.441, allocations: 0.9375 kB / 0.9095 GB, free: 231.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.1357/1.577, allocations: 113.4 MB / 1.02 GB, free: 142.5 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches