Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 100.4 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 194.5 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 71.58 kB / 382.9 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09771, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.06372/0.1615, allocations: 73.69 MB / 0.5023 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03403/0.1955, allocations: 14.45 MB / 0.5164 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01775/0.2133, allocations: 323.2 kB / 0.5167 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007267/0.2207, allocations: 3.631 MB / 0.5203 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.2271, allocations: 2.261 MB / 0.5225 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.2297, allocations: 0.9401 MB / 0.5234 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008766/0.2385, allocations: 6.276 MB / 0.5295 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2417/0.4803, allocations: 4.985 MB / 0.5344 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.4849, allocations: 2.167 MB / 0.5365 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.4905, allocations: 3.217 MB / 0.5396 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.4924, allocations: 456.3 kB / 0.5401 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/0.4966, allocations: 1.5 MB / 0.5415 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00411/0.5008, allocations: 2.728 MB / 0.5442 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007661/0.5085, allocations: 3.055 MB / 0.5472 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.5205, allocations: 7.672 MB / 0.5547 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.5206, allocations: 4 kB / 0.5547 GB, free: 2.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5206, allocations: 3.062 kB / 0.5547 GB, free: 2.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004893/0.5211, allocations: 0 / 0.5547 GB, free: 2.016 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02371/0.5448, allocations: 6.544 MB / 0.5611 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5449, allocations: 13.92 kB / 0.5611 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.5596, allocations: 2.663 MB / 0.5637 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.5716, allocations: 4.003 MB / 0.5676 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/0.5721, allocations: 307.9 kB / 0.5679 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/0.5745, allocations: 407 kB / 0.5683 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/0.607, allocations: 13.01 MB / 0.581 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003637/0.6074, allocations: 64.28 kB / 0.5811 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002305/0.6097, allocations: 193.4 kB / 0.5812 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004773/0.6145, allocations: 2.502 MB / 0.5837 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/0.6386, allocations: 10.83 MB / 0.5943 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07381/0.7125, allocations: 50.16 MB / 0.6432 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.7242, allocations: 4.552 MB / 0.6477 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00393/0.7281, allocations: 2.45 MB / 0.6501 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/0.7442, allocations: 6.735 MB / 0.6567 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/0.7444, allocations: 62.27 kB / 0.6567 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 6.081e-06/0.7444, allocations: 4 kB / 0.6567 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.084/0.8284, allocations: 19.41 MB / 0.6757 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001996/0.8286, allocations: 227.2 kB / 0.6759 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01861/0.8473, allocations: 5.921 MB / 0.6817 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007162/0.848, allocations: 49.7 kB / 0.6817 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00543/0.8535, allocations: 4.066 MB / 0.6857 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/0.8554, allocations: 0.7727 MB / 0.6864 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006769/0.8622, allocations: 1.537 MB / 0.6879 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8624, allocations: 301.1 kB / 0.6882 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007498/0.8699, allocations: 2.634 MB / 0.6908 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/0.8835, allocations: 7.157 MB / 0.6978 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02147/0.905, allocations: 10.52 MB / 0.7081 GB, free: 2.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003081/0.9053, allocations: 44 kB / 0.7081 GB, free: 2.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02351/0.9289, allocations: 10.57 MB / 0.7184 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.9291, allocations: 75.98 kB / 0.7185 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/0.9293, allocations: 160 kB / 0.7187 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/0.9325, allocations: 1.246 MB / 0.7199 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/0.9388, allocations: 1.724 MB / 0.7216 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.9495, allocations: 8.499 MB / 0.7299 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007461/0.957, allocations: 407.5 kB / 0.7302 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/0.959, allocations: 460 kB / 0.7307 GB, free: 12.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (918): * Single equations (assignments): 911 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006719/0.9657, allocations: 2.701 MB / 0.7333 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/0.9673, allocations: 489.7 kB / 0.7338 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00884/0.9762, allocations: 4.037 MB / 0.7377 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.887e-05/0.9763, allocations: 20 kB / 0.7377 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.9763, allocations: 8 kB / 0.7378 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.9764, allocations: 7.969 kB / 0.7378 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2977/1.274, allocations: 9.554 MB / 0.7471 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/1.274, allocations: 4.578 kB / 0.7471 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.276, allocations: 326.5 kB / 0.7474 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003035/1.279, allocations: 1.003 MB / 0.7484 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003186/1.279, allocations: 36.69 kB / 0.7484 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009712/1.289, allocations: 7.821 MB / 0.7561 GB, free: 233.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.289, allocations: 5.984 kB / 0.7561 GB, free: 233.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.301, allocations: 6.884 MB / 0.7628 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.303, allocations: 0.8409 MB / 0.7636 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.305, allocations: 35.88 kB / 0.7636 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.307, allocations: 117.8 kB / 0.7638 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/1.307, allocations: 116.7 kB / 0.7639 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.307, allocations: 51.22 kB / 0.7639 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006572/1.314, allocations: 3.785 MB / 0.7676 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/1.314, allocations: 0 / 0.7676 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00758/1.322, allocations: 1.294 MB / 0.7689 GB, free: 229.7 MB / 0.5762 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 (154): * Single equations (assignments): 149 * 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.0006225/1.322, allocations: 165.8 kB / 0.769 GB, free: 229.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.333, allocations: 6.957 MB / 0.7758 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.333, allocations: 0 / 0.7758 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/1.336, allocations: 1.91 MB / 0.7777 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.34, allocations: 0.6376 MB / 0.7783 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.362, allocations: 15.17 MB / 0.7931 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004608/1.367, allocations: 4.095 MB / 0.7971 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.368, allocations: 375.2 kB / 0.7975 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/1.368, allocations: 1.531 kB / 0.7975 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1439/1.512, allocations: 124.5 MB / 0.919 GB, free: 88.43 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches