Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001545/0.001545, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.455/0.455, allocations: 38.03 MB / 308.4 MB, free: 10.43 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006873/0.0006873, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1646, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3871/0.5517, allocations: 63.87 MB / 497.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0494/0.6012, allocations: 15 MB / 0.5008 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02272/0.624, allocations: 323.4 kB / 0.5011 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01716/0.6412, allocations: 3.202 MB / 0.5042 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04806/0.6893, allocations: 9.146 MB / 0.5131 GB, free: 156 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008268/0.6976, allocations: 0.9046 MB / 0.514 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05353/0.7512, allocations: 27.36 MB / 0.5407 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/0.7665, allocations: 6.305 MB / 0.5469 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00611/0.7727, allocations: 1.51 MB / 0.5484 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005541/0.7783, allocations: 2.072 MB / 0.5504 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002212/0.7806, allocations: 216 kB / 0.5506 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004667/0.7853, allocations: 0.9676 MB / 0.5515 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005649/0.791, allocations: 2.291 MB / 0.5538 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004347/0.7953, allocations: 1.205 MB / 0.555 GB, free: 48 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.8097, allocations: 8.167 MB / 0.5629 GB, free: 7.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8098, allocations: 4 kB / 0.5629 GB, free: 7.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.8098, allocations: 0 / 0.5629 GB, free: 7.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005691/0.8104, allocations: 0 / 0.5629 GB, free: 7.855 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02472/0.8351, allocations: 6.35 MB / 0.5691 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.7e-05/0.8352, allocations: 12.03 kB / 0.5692 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1652/1, allocations: 14.76 MB / 0.5836 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/1.017, allocations: 4.989 MB / 0.5884 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/1.017, allocations: 332.6 kB / 0.5888 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/1.02, allocations: 463.6 kB / 0.5892 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0324/1.053, allocations: 13.59 MB / 0.6025 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/1.053, allocations: 75.27 kB / 0.6025 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/1.055, allocations: 211.8 kB / 0.6027 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005428/1.061, allocations: 2.652 MB / 0.6053 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/1.09, allocations: 11.74 MB / 0.6168 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4341/1.524, allocations: 53.88 MB / 0.6694 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/1.538, allocations: 5.822 MB / 0.6751 GB, free: 106.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008086/1.539, allocations: 0.693 MB / 0.6758 GB, free: 106 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/1.539, allocations: 65.69 kB / 0.6758 GB, free: 106 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 6.933e-06/1.539, allocations: 0 / 0.6758 GB, free: 106 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1255/1.664, allocations: 36.77 MB / 0.7117 GB, free: 93.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.665, allocations: 266.2 kB / 0.712 GB, free: 92.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009712/1.674, allocations: 5.684 MB / 0.7175 GB, free: 90.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001674/1.676, allocations: 72.95 kB / 0.7176 GB, free: 90.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004774/1.681, allocations: 4.042 MB / 0.7216 GB, free: 87.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002838/1.684, allocations: 1.202 MB / 0.7227 GB, free: 86.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.685, allocations: 155.5 kB / 0.7229 GB, free: 86.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005263/1.685, allocations: 0.6379 MB / 0.7235 GB, free: 85.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005662/1.691, allocations: 3.436 MB / 0.7269 GB, free: 84.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008208/1.699, allocations: 7.671 MB / 0.7344 GB, free: 75.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007673/1.707, allocations: 5.058 MB / 0.7393 GB, free: 70.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/1.707, allocations: 40 kB / 0.7393 GB, free: 70.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.0274/1.734, allocations: 12.9 MB / 0.7519 GB, free: 57.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/1.735, allocations: 68.19 kB / 0.752 GB, free: 57.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003928/1.735, allocations: 155.9 kB / 0.7521 GB, free: 56.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/1.741, allocations: 2.262 MB / 0.7543 GB, free: 54.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006861/1.748, allocations: 1.766 MB / 0.7561 GB, free: 52.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.768, allocations: 15.76 MB / 0.7715 GB, free: 36.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007642/1.775, allocations: 463.2 kB / 0.7719 GB, free: 36.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001794/1.777, allocations: 455.9 kB / 0.7723 GB, free: 35.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (931): * Single equations (assignments): 926 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008211/1.786, allocations: 2.822 MB / 0.7751 GB, free: 33.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.787, allocations: 0.4898 MB / 0.7756 GB, free: 32.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/1.802, allocations: 7.416 MB / 0.7828 GB, free: 25.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/1.802, allocations: 43.28 kB / 0.7829 GB, free: 25.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.063e-05/1.802, allocations: 8 kB / 0.7829 GB, free: 25.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/1.802, allocations: 16 kB / 0.7829 GB, free: 25.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03525/1.837, allocations: 16.68 MB / 0.7992 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/1.837, allocations: 8 kB / 0.7992 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1.84, allocations: 0.5156 MB / 0.7997 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/1.845, allocations: 2.007 MB / 0.8016 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006326/1.845, allocations: 67.94 kB / 0.8017 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/1.866, allocations: 14.24 MB / 0.8156 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/1.866, allocations: 8 kB / 0.8156 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3205/2.186, allocations: 12.68 MB / 0.828 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006415/2.193, allocations: 1.111 MB / 0.8291 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002367/2.195, allocations: 62.05 kB / 0.8292 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003812/2.199, allocations: 222.7 kB / 0.8294 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006894/2.2, allocations: 217.5 kB / 0.8296 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002597/2.2, allocations: 85.83 kB / 0.8297 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006646/2.207, allocations: 3.652 MB / 0.8332 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/2.207, allocations: 3.625 kB / 0.8332 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00977/2.217, allocations: 1.542 MB / 0.8347 GB, free: 143.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * 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 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/2.218, allocations: 230.8 kB / 0.8349 GB, free: 143 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.233, allocations: 8.55 MB / 0.8433 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/2.233, allocations: 3.031 kB / 0.8433 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009867/2.243, allocations: 4.105 MB / 0.8473 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007579/2.251, allocations: 0.6338 MB / 0.8479 GB, free: 138 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/2.295, allocations: 17.08 MB / 0.8646 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/2.307, allocations: 4.538 MB / 0.869 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01129/2.319, allocations: 2.529 MB / 0.8715 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/2.322, allocations: 367 kB / 0.8719 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.863e-06/2.322, allocations: 0 / 0.8719 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1183/2.44, allocations: 63.49 MB / 0.9339 GB, free: 78.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) Environment - environmentSimulation: