Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001052/0.001052, 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.0009781/0.0009781, allocations: 177.3 kB / 15.94 MB, free: 228 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.714/1.714, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.3408/0.3408, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.0005406/0.0005406, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1363, allocations: 57.51 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3229/0.4593, allocations: 58.61 MB / 492.5 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04014/0.4995, allocations: 14.16 MB / 0.4948 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01876/0.5184, allocations: 299.1 kB / 0.4951 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01342/0.5318, allocations: 2.908 MB / 0.4979 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04082/0.5727, allocations: 8.369 MB / 0.5061 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006906/0.5796, allocations: 1.146 MB / 0.5072 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06681/0.6464, allocations: 40.33 MB / 0.5466 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.6622, allocations: 8.104 MB / 0.5545 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/0.668, allocations: 1.748 MB / 0.5562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005454/0.6735, allocations: 2.364 MB / 0.5585 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002224/0.6757, allocations: 240 kB / 0.5588 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.6802, allocations: 1.202 MB / 0.5599 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004708/0.685, allocations: 2.65 MB / 0.5625 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.6876, allocations: 1.326 MB / 0.5638 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.6999, allocations: 9.558 MB / 0.5732 GB, free: 13.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6999, allocations: 0 / 0.5732 GB, free: 13.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.6999, allocations: 3.938 kB / 0.5732 GB, free: 13.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004842/0.7004, allocations: 0 / 0.5732 GB, free: 13.36 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.02015/0.7206, allocations: 7.032 MB / 0.58 GB, free: 6.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7206, allocations: 12.03 kB / 0.58 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0616/0.7822, allocations: 11.1 MB / 0.5909 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/0.7971, allocations: 5.862 MB / 0.5966 GB, free: 5.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.7975, allocations: 377.8 kB / 0.597 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.7995, allocations: 0.5113 MB / 0.5975 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/0.8324, allocations: 15.62 MB / 0.6127 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/0.8327, allocations: 63.38 kB / 0.6128 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007728/0.8334, allocations: 233.5 kB / 0.613 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003886/0.8373, allocations: 2.552 MB / 0.6155 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/0.8673, allocations: 13.11 MB / 0.6283 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3308/1.198, allocations: 57.39 MB / 0.6843 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/1.221, allocations: 6.453 MB / 0.6906 GB, free: 102.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03703/1.258, allocations: 11.43 MB / 0.7018 GB, free: 96.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.051e-05/1.258, allocations: 62.11 kB / 0.7019 GB, free: 96.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 8.767e-06/1.258, allocations: 1.156 kB / 0.7019 GB, free: 96.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=338): time 0.2061/1.465, allocations: 40.86 MB / 0.7418 GB, free: 68.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/1.465, allocations: 243.8 kB / 0.742 GB, free: 68.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.477, allocations: 6.118 MB / 0.748 GB, free: 62.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000997/1.478, allocations: 77.7 kB / 0.7481 GB, free: 62.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003013/1.481, allocations: 4.445 MB / 0.7524 GB, free: 57.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.482, allocations: 1.234 MB / 0.7536 GB, free: 56.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.484, allocations: 164 kB / 0.7538 GB, free: 56.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000587/1.484, allocations: 0.657 MB / 0.7544 GB, free: 55.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005691/1.49, allocations: 3.737 MB / 0.758 GB, free: 51.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007668/1.498, allocations: 8.234 MB / 0.7661 GB, free: 41.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007542/1.505, allocations: 5.438 MB / 0.7714 GB, free: 36.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/1.505, allocations: 44 kB / 0.7714 GB, free: 35.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03124/1.537, allocations: 15.39 MB / 0.7865 GB, free: 20.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/1.537, allocations: 72 kB / 0.7865 GB, free: 20.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002749/1.537, allocations: 164 kB / 0.7867 GB, free: 20.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/1.55, allocations: 4.12 MB / 0.7907 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.555, allocations: 1.801 MB / 0.7925 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02941/1.585, allocations: 20.28 MB / 0.8123 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008277/1.593, allocations: 0.4953 MB / 0.8128 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/1.595, allocations: 464 kB / 0.8132 GB, free: 9 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.009751/1.605, allocations: 3.123 MB / 0.8163 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002394/1.607, allocations: 0.5322 MB / 0.8168 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3933/2.001, allocations: 9.586 MB / 0.8261 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.664e-05/2.001, allocations: 36.12 kB / 0.8262 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-05/2.001, allocations: 13.56 kB / 0.8262 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.761e-05/2.001, allocations: 12.61 kB / 0.8262 GB, free: 144.4 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.06832/2.069, allocations: 19.8 MB / 0.8455 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-05/2.07, allocations: 6.312 kB / 0.8455 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003758/2.073, allocations: 498.7 kB / 0.846 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02136/2.095, allocations: 3.648 MB / 0.8496 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001077/2.096, allocations: 67.55 kB / 0.8496 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04948/2.145, allocations: 17.84 MB / 0.8671 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/2.145, allocations: 11.34 kB / 0.8671 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03477/2.18, allocations: 15.15 MB / 0.8819 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003837/2.184, allocations: 1.154 MB / 0.883 GB, free: 124 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/2.186, allocations: 60.91 kB / 0.8831 GB, free: 124 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/2.19, allocations: 228.9 kB / 0.8833 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008201/2.19, allocations: 225.4 kB / 0.8835 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003131/2.191, allocations: 92.23 kB / 0.8836 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007026/2.198, allocations: 3.939 MB / 0.8874 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/2.198, allocations: 0 / 0.8874 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00937/2.207, allocations: 1.736 MB / 0.8891 GB, free: 121.6 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.00109/2.208, allocations: 246.9 kB / 0.8894 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01351/2.222, allocations: 9.187 MB / 0.8983 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/2.222, allocations: 2 kB / 0.8983 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/2.227, allocations: 3.619 MB / 0.9019 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/2.232, allocations: 0.6971 MB / 0.9025 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/2.266, allocations: 18.1 MB / 0.9202 GB, free: 91.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006537/2.272, allocations: 4.974 MB / 0.9251 GB, free: 86.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006538/2.279, allocations: 2.605 MB / 0.9276 GB, free: 83.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/2.28, allocations: 351.4 kB / 0.928 GB, free: 83.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/2.28, allocations: 0 / 0.928 GB, free: 83.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.1093/2.389, allocations: 72.52 MB / 0.9988 GB, free: 10.71 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) Environment - environmentSimulation: