Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000735/0.0007349, allocations: 85.25 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3008/0.3008, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 15.98 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.09974, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2157/0.3154, allocations: 43.7 MB / 0.522 GB, free: 19.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.3355, allocations: 10.12 MB / 0.5319 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008495/0.3441, allocations: 207.4 kB / 0.5321 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006675/0.3508, allocations: 2.238 MB / 0.5343 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01703/0.3678, allocations: 6.817 MB / 0.5409 GB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.3717, allocations: 1.037 MB / 0.5419 GB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02616/0.3978, allocations: 20.54 MB / 0.562 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009585/0.4075, allocations: 6.804 MB / 0.5686 GB, free: 10.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.4108, allocations: 1.709 MB / 0.5703 GB, free: 8.941 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.4145, allocations: 2.683 MB / 0.5729 GB, free: 6.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000752/0.4153, allocations: 200 kB / 0.5731 GB, free: 6.055 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.4181, allocations: 1.42 MB / 0.5745 GB, free: 4.633 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.4202, allocations: 2.279 MB / 0.5767 GB, free: 2.348 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002645/0.4229, allocations: 2.491 MB / 0.5792 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.4308, allocations: 7.716 MB / 0.5867 GB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.4309, allocations: 7.984 kB / 0.5867 GB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.107e-06/0.4309, allocations: 0 / 0.5867 GB, free: 8.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000368/0.4313, allocations: 0 / 0.5867 GB, free: 8.094 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01218/0.4434, allocations: 5.384 MB / 0.592 GB, free: 2.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4435, allocations: 16.03 kB / 0.592 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.4593, allocations: 2.782 MB / 0.5947 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008146/0.4675, allocations: 3.72 MB / 0.5983 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.4679, allocations: 354.2 kB / 0.5987 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.4692, allocations: 427.7 kB / 0.5991 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0239/0.4931, allocations: 13.86 MB / 0.6126 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.4933, allocations: 55.45 kB / 0.6127 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006078/0.4939, allocations: 211.8 kB / 0.6129 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003473/0.4974, allocations: 2.402 MB / 0.6152 GB, free: 9.891 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.52, allocations: 11.73 MB / 0.6267 GB, free: 14.14 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2826/0.8026, allocations: 51.82 MB / 0.6773 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.8144, allocations: 4.739 MB / 0.6819 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003302/0.8178, allocations: 2.941 MB / 0.6848 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01687/0.8347, allocations: 12.87 MB / 0.6973 GB, free: 98.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8348, allocations: 56.38 kB / 0.6974 GB, free: 98.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=197): time 5.05e-06/0.8348, allocations: 0 / 0.6974 GB, free: 98.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.1463/0.981, allocations: 43.34 MB / 0.7397 GB, free: 85.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.9812, allocations: 235.2 kB / 0.7399 GB, free: 85.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007988/0.9892, allocations: 4.772 MB / 0.7446 GB, free: 80.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006344/0.9898, allocations: 61.7 kB / 0.7447 GB, free: 80.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002241/0.9921, allocations: 3.837 MB / 0.7484 GB, free: 76.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/0.9933, allocations: 0.9348 MB / 0.7493 GB, free: 75.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.9941, allocations: 155.9 kB / 0.7495 GB, free: 75.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004889/0.9946, allocations: 0.6161 MB / 0.7501 GB, free: 74.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005036/0.9997, allocations: 3.419 MB / 0.7534 GB, free: 71.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006566/1.006, allocations: 7.679 MB / 0.7609 GB, free: 61.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.017, allocations: 11.83 MB / 0.7725 GB, free: 48.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/1.018, allocations: 48 kB / 0.7725 GB, free: 48.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02552/1.043, allocations: 14.41 MB / 0.7866 GB, free: 33.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/1.043, allocations: 68 kB / 0.7866 GB, free: 33.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/1.044, allocations: 148 kB / 0.7868 GB, free: 33.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/1.054, allocations: 4.029 MB / 0.7907 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/1.059, allocations: 1.63 MB / 0.7923 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/1.083, allocations: 18.67 MB / 0.8105 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.089, allocations: 471.3 kB / 0.811 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.09, allocations: 432 kB / 0.8114 GB, free: 8.086 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (884): * Single equations (assignments): 880 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005052/1.095, allocations: 2.665 MB / 0.814 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.096, allocations: 426.5 kB / 0.8144 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.114, allocations: 8.629 MB / 0.8228 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/1.114, allocations: 24 kB / 0.8229 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.869e-05/1.114, allocations: 15.98 kB / 0.8229 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-05/1.114, allocations: 7.969 kB / 0.8229 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03799/1.152, allocations: 17.9 MB / 0.8404 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/1.152, allocations: 0 / 0.8404 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.155, allocations: 391.4 kB / 0.8407 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01264/1.167, allocations: 4.073 MB / 0.8447 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005602/1.168, allocations: 41.09 kB / 0.8448 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0245/1.193, allocations: 17.1 MB / 0.8615 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.193, allocations: 3.938 kB / 0.8615 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02463/1.217, allocations: 13.21 MB / 0.8744 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/1.22, allocations: 0.964 MB / 0.8753 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.222, allocations: 39.94 kB / 0.8753 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003072/1.225, allocations: 220.3 kB / 0.8755 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008134/1.226, allocations: 158.2 kB / 0.8757 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/1.226, allocations: 56.78 kB / 0.8758 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006113/1.232, allocations: 2.969 MB / 0.8787 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.02e-07/1.232, allocations: 0 / 0.8787 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007849/1.24, allocations: 1.497 MB / 0.8801 GB, free: 1.488 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (173): * Single equations (assignments): 169 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009787/1.241, allocations: 231.8 kB / 0.8803 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.2094/1.45, allocations: 8.219 MB / 0.8884 GB, free: 187.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.45, allocations: 2.5 kB / 0.8884 GB, free: 187.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004731/1.455, allocations: 3.103 MB / 0.8914 GB, free: 187.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/1.46, allocations: 0.4933 MB / 0.8919 GB, free: 187.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/1.486, allocations: 15.67 MB / 0.9072 GB, free: 180 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005589/1.492, allocations: 4.091 MB / 0.9112 GB, free: 178.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.493, allocations: 337 kB / 0.9115 GB, free: 178.5 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/1.494, allocations: 3.906 kB / 0.9115 GB, free: 178.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.1302/1.624, allocations: 100.3 MB / 1.009 GB, free: 102.9 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)