Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.000999, 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.001002/0.001002, 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.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3158/0.3158, allocations: 40 MB / 310.4 MB, free: 9.688 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.2. 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.0008461/0.0008462, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1295, allocations: 57.96 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2712/0.4007, allocations: 58.6 MB / 495.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03232/0.4331, allocations: 14.16 MB / 0.4976 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/0.4468, allocations: 310.6 kB / 0.4979 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.458, allocations: 2.9 MB / 0.5007 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02707/0.4852, allocations: 8.367 MB / 0.5089 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00467/0.4899, allocations: 1.149 MB / 0.51 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05881/0.5487, allocations: 40.34 MB / 0.5494 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01395/0.5627, allocations: 8.09 MB / 0.5573 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.5672, allocations: 1.756 MB / 0.559 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.5718, allocations: 2.364 MB / 0.5613 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.5734, allocations: 240 kB / 0.5615 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.5769, allocations: 1.198 MB / 0.5627 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003911/0.5809, allocations: 2.654 MB / 0.5653 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.5834, allocations: 1.326 MB / 0.5666 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5937, allocations: 9.561 MB / 0.5759 GB, free: 8.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5937, allocations: 0 / 0.5759 GB, free: 8.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5937, allocations: 0 / 0.5759 GB, free: 8.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004583/0.5942, allocations: 0 / 0.5759 GB, free: 8.961 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01743/0.6116, allocations: 7.045 MB / 0.5828 GB, free: 1.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6117, allocations: 8.031 kB / 0.5828 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06072/0.6724, allocations: 11.1 MB / 0.5937 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.6861, allocations: 5.862 MB / 0.5994 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.6864, allocations: 381.8 kB / 0.5998 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/0.6883, allocations: 0.5152 MB / 0.6003 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/0.7162, allocations: 15.62 MB / 0.6155 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.7164, allocations: 65.16 kB / 0.6156 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006473/0.7171, allocations: 235.8 kB / 0.6158 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/0.7206, allocations: 2.544 MB / 0.6183 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2347/0.9553, allocations: 13.1 MB / 0.6311 GB, free: 136.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06718/1.023, allocations: 57.4 MB / 0.6871 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/1.042, allocations: 6.443 MB / 0.6934 GB, free: 99.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02074/1.063, allocations: 11.43 MB / 0.7046 GB, free: 93.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.063, allocations: 57.06 kB / 0.7046 GB, free: 93.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 5.07e-06/1.063, allocations: 5.375 kB / 0.7046 GB, free: 93.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=338): time 0.1282/1.191, allocations: 40.87 MB / 0.7446 GB, free: 61.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/1.191, allocations: 239.8 kB / 0.7448 GB, free: 61.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/1.199, allocations: 6.126 MB / 0.7508 GB, free: 55.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008573/1.2, allocations: 74.55 kB / 0.7508 GB, free: 55.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/1.202, allocations: 4.452 MB / 0.7552 GB, free: 51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.204, allocations: 1.238 MB / 0.7564 GB, free: 49.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/1.204, allocations: 167.9 kB / 0.7566 GB, free: 49.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003173/1.204, allocations: 0.6453 MB / 0.7572 GB, free: 48.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004517/1.209, allocations: 3.744 MB / 0.7608 GB, free: 45.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006457/1.215, allocations: 8.234 MB / 0.7689 GB, free: 34.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/1.222, allocations: 5.427 MB / 0.7742 GB, free: 29.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.56e-05/1.222, allocations: 44 kB / 0.7742 GB, free: 29.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02884/1.251, allocations: 15.39 MB / 0.7892 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/1.251, allocations: 74.5 kB / 0.7893 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/1.252, allocations: 156 kB / 0.7895 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/1.264, allocations: 4.126 MB / 0.7935 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005625/1.269, allocations: 1.797 MB / 0.7953 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.298, allocations: 20.28 MB / 0.8151 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/1.304, allocations: 0.4954 MB / 0.8155 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.305, allocations: 468 kB / 0.816 GB, free: 2.281 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (966): * Single equations (assignments): 962 * 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%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2012/1.507, allocations: 3.118 MB / 0.819 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.508, allocations: 0.5333 MB / 0.8196 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/1.525, allocations: 9.591 MB / 0.8289 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/1.525, allocations: 36.53 kB / 0.829 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.525, allocations: 16.78 kB / 0.829 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/1.526, allocations: 19.92 kB / 0.829 GB, free: 141 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.03554/1.561, allocations: 19.8 MB / 0.8483 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.061e-05/1.561, allocations: 6.312 kB / 0.8483 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.564, allocations: 0.4899 MB / 0.8488 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01278/1.576, allocations: 3.656 MB / 0.8524 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007098/1.577, allocations: 58.72 kB / 0.8524 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/1.602, allocations: 17.83 MB / 0.8698 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.602, allocations: 12.19 kB / 0.8699 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02359/1.625, allocations: 15.15 MB / 0.8847 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003337/1.629, allocations: 1.157 MB / 0.8858 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.63, allocations: 66.73 kB / 0.8858 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.633, allocations: 225.2 kB / 0.8861 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007903/1.634, allocations: 224.1 kB / 0.8863 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/1.634, allocations: 92.36 kB / 0.8864 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005647/1.64, allocations: 3.937 MB / 0.8902 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.64, allocations: 0 / 0.8902 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008272/1.648, allocations: 1.732 MB / 0.8919 GB, free: 113.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (256): * Single equations (assignments): 252 * 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%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/1.649, allocations: 253.5 kB / 0.8921 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.662, allocations: 9.185 MB / 0.9011 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/1.662, allocations: 3.844 kB / 0.9011 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/1.666, allocations: 3.618 MB / 0.9046 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.67, allocations: 0.6946 MB / 0.9053 GB, free: 99.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/1.696, allocations: 18.09 MB / 0.923 GB, free: 81.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005621/1.702, allocations: 4.974 MB / 0.9279 GB, free: 76.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006766/1.709, allocations: 2.613 MB / 0.9304 GB, free: 73.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.71, allocations: 355.4 kB / 0.9307 GB, free: 73.43 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/1.71, allocations: 0 / 0.9307 GB, free: 73.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.1025/1.813, allocations: 72.51 MB / 1.002 GB, free: 1.004 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) Environment - environmentSimulation: