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.000777/0.0007771, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008634/0.0008635, allocations: 168.7 kB / 15.95 MB, free: 204 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.379/1.379, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.2819/0.2819, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0006249/0.000625, allocations: 24 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1209, allocations: 57.52 MB / 434 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2451/0.366, allocations: 62.1 MB / 496.1 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02687/0.393, allocations: 13.56 MB / 0.4977 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01166/0.4047, allocations: 300.3 kB / 0.498 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.4149, allocations: 3.199 MB / 0.5011 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02747/0.4424, allocations: 9.591 MB / 0.5105 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005287/0.4477, allocations: 1.166 MB / 0.5116 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06468/0.5124, allocations: 51.98 MB / 0.5624 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.5244, allocations: 8.145 MB / 0.5703 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.5291, allocations: 2.145 MB / 0.5724 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006063/0.5352, allocations: 3.385 MB / 0.5757 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001713/0.537, allocations: 240 kB / 0.5759 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.5403, allocations: 1.233 MB / 0.5772 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003436/0.5438, allocations: 2.848 MB / 0.5799 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.5454, allocations: 1.314 MB / 0.5812 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009327/0.5548, allocations: 9.358 MB / 0.5904 GB, free: 12.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5548, allocations: 0 / 0.5904 GB, free: 12.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5548, allocations: 0 / 0.5904 GB, free: 12.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003564/0.5552, allocations: 0 / 0.5904 GB, free: 12.09 MB / 462.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.01363/0.5688, allocations: 6.618 MB / 0.5968 GB, free: 5.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5689, allocations: 12.03 kB / 0.5968 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.5819, allocations: 3.107 MB / 0.5999 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.5923, allocations: 5.072 MB / 0.6048 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/0.5928, allocations: 385.8 kB / 0.6052 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.5946, allocations: 0.5074 MB / 0.6057 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/0.6204, allocations: 15.52 MB / 0.6208 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.6206, allocations: 67.42 kB / 0.6209 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005398/0.6212, allocations: 237.5 kB / 0.6211 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003428/0.6246, allocations: 2.548 MB / 0.6236 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2313/0.8559, allocations: 13.09 MB / 0.6364 GB, free: 141.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06281/0.9188, allocations: 57.55 MB / 0.6926 GB, free: 104.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.9363, allocations: 6.404 MB / 0.6989 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/0.9411, allocations: 3.432 MB / 0.7022 GB, free: 100.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.9591, allocations: 11.58 MB / 0.7135 GB, free: 94.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.9592, allocations: 66.36 kB / 0.7136 GB, free: 93.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.029e-06/0.9593, allocations: 0 / 0.7136 GB, free: 93.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1175/1.077, allocations: 39.64 MB / 0.7523 GB, free: 58.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/1.077, allocations: 239.9 kB / 0.7525 GB, free: 58.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006435/1.083, allocations: 5.707 MB / 0.7581 GB, free: 52.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006864/1.084, allocations: 77.7 kB / 0.7582 GB, free: 52.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.086, allocations: 4.36 MB / 0.7624 GB, free: 48.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.088, allocations: 1.256 MB / 0.7637 GB, free: 47.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/1.088, allocations: 172 kB / 0.7638 GB, free: 47.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003072/1.088, allocations: 0.6777 MB / 0.7645 GB, free: 46.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.093, allocations: 4.05 MB / 0.7684 GB, free: 42.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007615/1.101, allocations: 8.633 MB / 0.7769 GB, free: 31.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008363/1.109, allocations: 5.774 MB / 0.7825 GB, free: 25.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.588e-05/1.109, allocations: 44 kB / 0.7825 GB, free: 25.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02712/1.136, allocations: 16.31 MB / 0.7985 GB, free: 9.312 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.137, allocations: 72 kB / 0.7985 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/1.137, allocations: 160 kB / 0.7987 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1.148, allocations: 4.315 MB / 0.8029 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/1.154, allocations: 1.899 MB / 0.8048 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2538/1.408, allocations: 20.15 MB / 0.8244 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/1.415, allocations: 0.51 MB / 0.8249 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.416, allocations: 484.7 kB / 0.8254 GB, free: 141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1031): * Single equations (assignments): 1027 * 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.004584/1.421, allocations: 3.13 MB / 0.8285 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009596/1.422, allocations: 0.5147 MB / 0.829 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.439, allocations: 10.09 MB / 0.8388 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/1.439, allocations: 34.34 kB / 0.8388 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/1.439, allocations: 15.38 kB / 0.8389 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-05/1.44, allocations: 13.5 kB / 0.8389 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03614/1.476, allocations: 20.14 MB / 0.8585 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/1.476, allocations: 8.094 kB / 0.8585 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/1.478, allocations: 0.4993 MB / 0.859 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01183/1.49, allocations: 3.841 MB / 0.8628 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005404/1.491, allocations: 68.86 kB / 0.8628 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/1.513, allocations: 17.79 MB / 0.8802 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.513, allocations: 17.27 kB / 0.8802 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02557/1.539, allocations: 14.87 MB / 0.8948 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/1.542, allocations: 1.18 MB / 0.8959 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.543, allocations: 64.09 kB / 0.896 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/1.547, allocations: 232.5 kB / 0.8962 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006972/1.547, allocations: 229.2 kB / 0.8964 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/1.548, allocations: 95.33 kB / 0.8965 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005593/1.553, allocations: 3.593 MB / 0.9 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.553, allocations: 0 / 0.9 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007596/1.561, allocations: 1.792 MB / 0.9018 GB, free: 110.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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.0007886/1.562, allocations: 233.3 kB / 0.902 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.574, allocations: 9.761 MB / 0.9115 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.574, allocations: 2 kB / 0.9115 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004533/1.578, allocations: 3.774 MB / 0.9152 GB, free: 96.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/1.583, allocations: 0.7058 MB / 0.9159 GB, free: 96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/1.611, allocations: 18.54 MB / 0.934 GB, free: 77.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005021/1.616, allocations: 4.842 MB / 0.9387 GB, free: 72.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005626/1.621, allocations: 2.573 MB / 0.9412 GB, free: 70.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.622, allocations: 351.3 kB / 0.9416 GB, free: 69.69 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/1.622, allocations: 0 / 0.9416 GB, free: 69.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.2956/1.918, allocations: 72.97 MB / 1.013 GB, free: 150.6 MB / 0.5137 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: