Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003186/0.003192, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.55/3.55, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.00187/0.00187, allocations: 94.88 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006458, allocations: 8 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2125, allocations: 47.58 MB / 374.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.5813/0.7939, allocations: 77.22 MB / 451.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0784/0.8724, allocations: 17.98 MB / 469.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02735/0.8998, allocations: 402.9 kB / 470.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02259/0.9225, allocations: 3.892 MB / 474 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06995/0.9925, allocations: 10.79 MB / 484.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01211/1.005, allocations: 1.229 MB / 486 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01673/1.022, allocations: 3.975 MB / 490 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03336/1.055, allocations: 9.512 MB / 499.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007231/1.062, allocations: 1.779 MB / 0.4896 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008221/1.071, allocations: 2.254 MB / 0.4918 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002943/1.074, allocations: 260 kB / 0.492 GB, free: 10.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007459/1.081, allocations: 1.334 MB / 0.4933 GB, free: 9.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008039/1.089, allocations: 2.774 MB / 0.496 GB, free: 6.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005051/1.094, allocations: 1.454 MB / 0.4974 GB, free: 5.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02604/1.121, allocations: 10.22 MB / 0.5074 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.121, allocations: 0 / 0.5074 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.528e-06/1.121, allocations: 0 / 0.5074 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006003/1.121, allocations: 0 / 0.5074 GB, free: 10.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.03933/1.161, allocations: 7.191 MB / 0.5145 GB, free: 3.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.396e-05/1.161, allocations: 12.03 kB / 0.5145 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/1.19, allocations: 3.005 MB / 0.5174 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/1.214, allocations: 4.674 MB / 0.522 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/1.216, allocations: 463.9 kB / 0.5224 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005872/1.222, allocations: 0.6986 MB / 0.5231 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8974/2.119, allocations: 18.55 MB / 0.5412 GB, free: 124.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007901/2.12, allocations: 65.78 kB / 0.5413 GB, free: 124.4 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004474/2.124, allocations: 277.8 kB / 0.5415 GB, free: 124.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01388/2.138, allocations: 3.04 MB / 0.5445 GB, free: 123.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08229/2.221, allocations: 15.51 MB / 0.5596 GB, free: 117.7 MB / 410.8 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.1936/2.414, allocations: 67.24 MB / 0.6253 GB, free: 51.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05951/2.474, allocations: 8.094 MB / 0.6332 GB, free: 42.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05318/2.527, allocations: 15.1 MB / 0.648 GB, free: 27.46 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.6e-05/2.527, allocations: 64.56 kB / 0.648 GB, free: 27.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=268): time 1.042e-05/2.527, allocations: 0 / 0.648 GB, free: 27.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=314): time 1.155/3.683, allocations: 55.46 MB / 0.7022 GB, free: 131.2 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/3.683, allocations: 162.5 kB / 0.7023 GB, free: 131.1 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02699/3.71, allocations: 6.104 MB / 0.7083 GB, free: 129.1 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001286/3.711, allocations: 74.03 kB / 0.7084 GB, free: 129 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006458/3.718, allocations: 4.824 MB / 0.7131 GB, free: 125.9 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003661/3.722, allocations: 1.195 MB / 0.7142 GB, free: 125.1 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/3.724, allocations: 178.3 kB / 0.7144 GB, free: 124.9 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001427/3.726, allocations: 0.6933 MB / 0.7151 GB, free: 124.4 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01785/3.744, allocations: 4.129 MB / 0.7191 GB, free: 122.6 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02367/3.767, allocations: 9.371 MB / 0.7283 GB, free: 113.3 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02431/3.792, allocations: 6.001 MB / 0.7341 GB, free: 110.3 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003428/3.792, allocations: 51.41 kB / 0.7342 GB, free: 110.3 MB / 426.8 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.2117/4.004, allocations: 24.24 MB / 0.7579 GB, free: 88.96 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002378/4.004, allocations: 84 kB / 0.7579 GB, free: 88.88 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004247/4.005, allocations: 184.9 kB / 0.7581 GB, free: 88.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04543/4.05, allocations: 5.396 MB / 0.7634 GB, free: 83.31 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02023/4.07, allocations: 2.074 MB / 0.7654 GB, free: 81.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1281/4.199, allocations: 34.54 MB / 0.7991 GB, free: 45.79 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02011/4.219, allocations: 0.6147 MB / 0.7997 GB, free: 45.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003324/4.222, allocations: 0.5195 MB / 0.8002 GB, free: 44.66 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1073 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01483/4.237, allocations: 3.404 MB / 0.8036 GB, free: 41.24 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/4.24, allocations: 0.5322 MB / 0.8041 GB, free: 40.7 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1845/4.425, allocations: 17.66 MB / 0.8213 GB, free: 22.9 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001448/4.425, allocations: 43.98 kB / 0.8214 GB, free: 22.86 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.311e-05/4.425, allocations: 12 kB / 0.8214 GB, free: 22.85 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/4.425, allocations: 11.95 kB / 0.8214 GB, free: 22.84 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6889/5.114, allocations: 28.59 MB / 0.8493 GB, free: 126.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.359e-05/5.114, allocations: 1.094 kB / 0.8493 GB, free: 126.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007211/5.122, allocations: 0.5171 MB / 0.8498 GB, free: 126.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04698/5.169, allocations: 5.144 MB / 0.8549 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001487/5.17, allocations: 58.81 kB / 0.8549 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1204/5.291, allocations: 34.04 MB / 0.8882 GB, free: 109.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/5.291, allocations: 7.734 kB / 0.8882 GB, free: 109.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1771/5.468, allocations: 22.72 MB / 0.9103 GB, free: 99.09 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007158/5.475, allocations: 1.219 MB / 0.9115 GB, free: 98.15 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003498/5.479, allocations: 48 kB / 0.9116 GB, free: 98.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01045/5.489, allocations: 306.4 kB / 0.9119 GB, free: 97.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002926/5.492, allocations: 187.8 kB / 0.9121 GB, free: 97.62 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00128/5.493, allocations: 84.98 kB / 0.9121 GB, free: 97.54 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01391/5.507, allocations: 3.816 MB / 0.9159 GB, free: 93.73 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.465e-06/5.508, allocations: 2 kB / 0.9159 GB, free: 93.73 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01937/5.527, allocations: 1.93 MB / 0.9178 GB, free: 91.81 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * 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 (235): * Single equations (assignments): 224 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/5.529, allocations: 267.3 kB / 0.918 GB, free: 91.57 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.05051/5.58, allocations: 11.4 MB / 0.9291 GB, free: 80.2 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/5.58, allocations: 4 kB / 0.9291 GB, free: 80.19 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02997/5.61, allocations: 5.265 MB / 0.9343 GB, free: 74.86 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009864/5.62, allocations: 0.7538 MB / 0.935 GB, free: 74.13 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0741/5.694, allocations: 20.95 MB / 0.9555 GB, free: 53.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01804/5.712, allocations: 5.336 MB / 0.9607 GB, free: 47.82 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004331/5.717, allocations: 431.4 kB / 0.9611 GB, free: 47.4 MB / 442.8 MB Notification: Performance of SimCode: time 3.106e-06/5.717, allocations: 0 / 0.9611 GB, free: 47.4 MB / 442.8 MB Notification: Performance of Templates: time 1.84/7.557, allocations: 307.7 MB / 1.262 GB, free: 99.17 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)