Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009769/0.0009768, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008832, allocations: 94.84 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3187/0.3187, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 16 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3588, allocations: 61.89 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4844, allocations: 108.6 MB / 0.6156 GB, free: 2.504 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4847, allocations: 79.95 kB / 0.6157 GB, free: 2.426 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4399/0.9246, allocations: 77.81 MB / 0.6917 GB, free: 97.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.9247, allocations: 0 / 0.6917 GB, free: 97.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.9248, allocations: 76.06 kB / 0.6917 GB, free: 97.21 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.008915/0.9337, allocations: 3.841 MB / 0.6955 GB, free: 95.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9338, allocations: 11.5 kB / 0.6955 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.9498, allocations: 4.319 MB / 0.6997 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.9621, allocations: 4.344 MB / 0.704 GB, free: 94.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.9624, allocations: 272.6 kB / 0.7042 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.9641, allocations: 371.3 kB / 0.7046 GB, free: 94.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.9843, allocations: 9.149 MB / 0.7135 GB, free: 91.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.9846, allocations: 58.5 kB / 0.7136 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000688/0.9853, allocations: 181.6 kB / 0.7137 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/0.9866, allocations: 0.8961 MB / 0.7146 GB, free: 91.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/1.004, allocations: 7.326 MB / 0.7218 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/1.045, allocations: 44.13 MB / 0.7649 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007834/1.052, allocations: 3.504 MB / 0.7683 GB, free: 53.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009604/1.062, allocations: 7.171 MB / 0.7753 GB, free: 49.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.062, allocations: 63.69 kB / 0.7754 GB, free: 49.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 4.048e-06/1.062, allocations: 0 / 0.7754 GB, free: 49.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.05405/1.116, allocations: 19.33 MB / 0.7942 GB, free: 41.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/1.116, allocations: 200.8 kB / 0.7944 GB, free: 41.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/1.12, allocations: 3.305 MB / 0.7977 GB, free: 38.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003156/1.121, allocations: 53.7 kB / 0.7977 GB, free: 38.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.122, allocations: 2.835 MB / 0.8005 GB, free: 36.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005982/1.123, allocations: 0.7149 MB / 0.8012 GB, free: 35.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/1.123, allocations: 116 kB / 0.8013 GB, free: 35.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/1.123, allocations: 0.5586 MB / 0.8018 GB, free: 35.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.125, allocations: 1.979 MB / 0.8038 GB, free: 33.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/1.129, allocations: 5.523 MB / 0.8092 GB, free: 26.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/1.133, allocations: 3.252 MB / 0.8123 GB, free: 23.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.08e-05/1.133, allocations: 36 kB / 0.8124 GB, free: 23.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01617/1.149, allocations: 8.567 MB / 0.8207 GB, free: 16.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/1.149, allocations: 60 kB / 0.8208 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.149, allocations: 124 kB / 0.8209 GB, free: 16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/1.155, allocations: 1.505 MB / 0.8224 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/1.159, allocations: 1.294 MB / 0.8236 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/1.171, allocations: 8.402 MB / 0.8318 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/1.177, allocations: 307.5 kB / 0.8321 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/1.179, allocations: 355.9 kB / 0.8325 GB, free: 4.402 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (697): * Single equations (assignments): 693 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005385/1.184, allocations: 1.892 MB / 0.8343 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008959/1.185, allocations: 331.7 kB / 0.8346 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009559/1.195, allocations: 3.676 MB / 0.8382 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/1.195, allocations: 24 kB / 0.8383 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/1.195, allocations: 8 kB / 0.8383 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/1.195, allocations: 7.969 kB / 0.8383 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.215, allocations: 7.927 MB / 0.846 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/1.215, allocations: 7.984 kB / 0.846 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.216, allocations: 250.2 kB / 0.8463 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/1.222, allocations: 1.276 MB / 0.8475 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004029/1.222, allocations: 31.95 kB / 0.8475 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.234, allocations: 7.671 MB / 0.855 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.234, allocations: 0 / 0.855 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.246, allocations: 6.112 MB / 0.861 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.247, allocations: 372.6 kB / 0.8614 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/1.248, allocations: 28 kB / 0.8614 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.249, allocations: 95.95 kB / 0.8615 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/1.249, allocations: 112.6 kB / 0.8616 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.25, allocations: 47.98 kB / 0.8616 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003861/1.253, allocations: 2.297 MB / 0.8639 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/1.253, allocations: 0 / 0.8639 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005711/1.259, allocations: 0.984 MB / 0.8648 GB, free: 3.059 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00052/1.26, allocations: 174.8 kB / 0.865 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008583/1.268, allocations: 4.961 MB / 0.8698 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.268, allocations: 0 / 0.8698 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/1.271, allocations: 1.621 MB / 0.8714 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.273, allocations: 361.2 kB / 0.8718 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.288, allocations: 9.711 MB / 0.8812 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2857/1.574, allocations: 3.034 MB / 0.8842 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005293/1.58, allocations: 1.828 MB / 0.886 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/1.58, allocations: 218.4 kB / 0.8862 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/1.58, allocations: 0 / 0.8862 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.08489/1.665, allocations: 35.41 MB / 0.9208 GB, free: 126.5 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches