Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009832, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.009256/0.009256, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.567/1.567, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.0006977/0.0006977, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3057, allocations: 47.58 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.08518/0.3909, allocations: 88.05 MB / 415.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04628/0.4372, allocations: 17.93 MB / 433 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0239/0.4612, allocations: 406.9 kB / 433.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.4643, allocations: 0.7344 MB / 434.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4753, allocations: 2.623 MB / 436.8 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.4805, allocations: 1.174 MB / 437.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01513/0.4957, allocations: 10.3 MB / 448.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2554/0.7511, allocations: 11.07 MB / 459.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006792/0.758, allocations: 2.051 MB / 461.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00731/0.7653, allocations: 3.334 MB / 464.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.7671, allocations: 259.4 kB / 464.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.7718, allocations: 1.636 MB / 466.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004684/0.7765, allocations: 3.044 MB / 469.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006156/0.7827, allocations: 3.49 MB / 473.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.7969, allocations: 12.18 MB / 485.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7969, allocations: 3 kB / 485.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7969, allocations: 0 / 485.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005227/0.7975, allocations: 1.094 kB / 485.3 MB, free: 1.355 MB / 382.1 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.01838/0.8158, allocations: 6.901 MB / 492.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8159, allocations: 10.5 kB / 492.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.8275, allocations: 2.623 MB / 494.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.8379, allocations: 4.325 MB / 499.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.8384, allocations: 462.9 kB / 499.6 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003381/0.8418, allocations: 0.6996 MB / 0.4886 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04534/0.8871, allocations: 18.31 MB / 0.5065 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003766/0.8876, allocations: 65.83 kB / 0.5065 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/0.8899, allocations: 278.6 kB / 0.5068 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00597/0.8959, allocations: 3.03 MB / 0.5098 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03848/0.9344, allocations: 15.25 MB / 0.5246 GB, free: 1.34 MB / 414.1 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.1072/1.042, allocations: 67 MB / 0.5901 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02496/1.067, allocations: 8.012 MB / 0.5979 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005247/1.072, allocations: 3.574 MB / 0.6014 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02415/1.096, allocations: 14.97 MB / 0.616 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/1.096, allocations: 63.56 kB / 0.6161 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=268): time 6.812e-06/1.096, allocations: 0 / 0.6161 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=314): time 0.4721/1.568, allocations: 54.82 MB / 0.6696 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.569, allocations: 162.3 kB / 0.6698 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.58, allocations: 5.86 MB / 0.6755 GB, free: 136 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.581, allocations: 72.92 kB / 0.6756 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003911/1.585, allocations: 4.986 MB / 0.6804 GB, free: 132.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.587, allocations: 1.194 MB / 0.6816 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/1.589, allocations: 0.7736 MB / 0.6823 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.589, allocations: 311.4 kB / 0.6826 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006174/1.595, allocations: 4.138 MB / 0.6867 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009208/1.604, allocations: 9.427 MB / 0.6959 GB, free: 116.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/1.62, allocations: 14.55 MB / 0.7101 GB, free: 99.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/1.62, allocations: 52 kB / 0.7101 GB, free: 99.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07528/1.695, allocations: 24.5 MB / 0.7341 GB, free: 76.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000322/1.695, allocations: 87.31 kB / 0.7341 GB, free: 76.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004015/1.696, allocations: 188 kB / 0.7343 GB, free: 75.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/1.712, allocations: 5.375 MB / 0.7396 GB, free: 70.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.719, allocations: 2.086 MB / 0.7416 GB, free: 68.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04356/1.763, allocations: 33.3 MB / 0.7741 GB, free: 34.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.773, allocations: 0.6165 MB / 0.7747 GB, free: 34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/1.776, allocations: 0.5234 MB / 0.7752 GB, free: 33.47 MB / 0.5137 GB 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 (1094): * Single equations (assignments): 1081 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,4,60.0%), (1,3,100.0%), (1,3,100.0%), (4,9,100.0%), (4,9,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.009131/1.785, allocations: 3.408 MB / 0.7786 GB, free: 30.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/1.787, allocations: 0.5283 MB / 0.7791 GB, free: 29.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06347/1.85, allocations: 17.67 MB / 0.7964 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.06e-05/1.85, allocations: 51.94 kB / 0.7964 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.264e-05/1.85, allocations: 12 kB / 0.7964 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/1.851, allocations: 11.95 kB / 0.7964 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3625/2.213, allocations: 28.57 MB / 0.8243 GB, free: 230.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/2.213, allocations: 0 / 0.8243 GB, free: 230.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/2.217, allocations: 0.5179 MB / 0.8248 GB, free: 230.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/2.232, allocations: 5.148 MB / 0.8299 GB, free: 230.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009002/2.233, allocations: 61.36 kB / 0.8299 GB, free: 230.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04465/2.277, allocations: 32.81 MB / 0.862 GB, free: 213.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/2.277, allocations: 3.938 kB / 0.862 GB, free: 213.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06949/2.347, allocations: 22.64 MB / 0.8841 GB, free: 191.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0044/2.351, allocations: 1.215 MB / 0.8853 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/2.354, allocations: 55.38 kB / 0.8853 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005272/2.359, allocations: 308.3 kB / 0.8856 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001512/2.361, allocations: 187.8 kB / 0.8858 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006637/2.361, allocations: 83.98 kB / 0.8859 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008623/2.37, allocations: 3.64 MB / 0.8894 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.02e-07/2.37, allocations: 3.844 kB / 0.8894 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01328/2.383, allocations: 1.905 MB / 0.8913 GB, free: 184.6 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (5,4,60.0%), (2,1,100.0%), (4,9,100.0%), (4,9,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/2.385, allocations: 260.9 kB / 0.8915 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02391/2.409, allocations: 11.49 MB / 0.9028 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/2.409, allocations: 0 / 0.9028 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01679/2.426, allocations: 5.285 MB / 0.9079 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01251/2.438, allocations: 0.7791 MB / 0.9087 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05166/2.49, allocations: 20.99 MB / 0.9292 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.501, allocations: 5.184 MB / 0.9342 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009737/2.511, allocations: 2.787 MB / 0.937 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/2.513, allocations: 359.4 kB / 0.9373 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/2.513, allocations: 3.938 kB / 0.9373 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1415/2.655, allocations: 89.65 MB / 1.025 GB, free: 47.65 MB / 0.5294 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)