Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001089/0.001089, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.813/1.813, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001749/0.001749, allocations: 106.4 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2079/0.2079, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.589e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4757/0.5966, allocations: 102.9 MB / 0.545 GB, free: 5.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5969, allocations: 74.09 kB / 0.545 GB, free: 4.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6714/1.268, allocations: 126.5 MB / 0.6685 GB, free: 92.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.268, allocations: 1.281 kB / 0.6685 GB, free: 92.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004573/1.269, allocations: 116.1 kB / 0.6686 GB, free: 92.54 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02813/1.297, allocations: 6.319 MB / 0.6748 GB, free: 91.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.297, allocations: 13.44 kB / 0.6748 GB, free: 91.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03544/1.332, allocations: 8.318 MB / 0.6829 GB, free: 91.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/1.353, allocations: 7.361 MB / 0.6901 GB, free: 90.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/1.353, allocations: 454.3 kB / 0.6906 GB, free: 90.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004148/1.357, allocations: 0.5825 MB / 0.6911 GB, free: 90.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04032/1.398, allocations: 15.59 MB / 0.7064 GB, free: 87.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004251/1.398, allocations: 84.23 kB / 0.7064 GB, free: 87.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002763/1.401, allocations: 286.9 kB / 0.7067 GB, free: 87.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002487/1.403, allocations: 1.611 MB / 0.7083 GB, free: 87.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/1.436, allocations: 13.8 MB / 0.7218 GB, free: 87.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08343/1.519, allocations: 64 MB / 0.7843 GB, free: 40.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/1.533, allocations: 6.408 MB / 0.7905 GB, free: 34.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004533/1.537, allocations: 3.538 MB / 0.794 GB, free: 31.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02275/1.56, allocations: 14.44 MB / 0.8081 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/1.56, allocations: 63.84 kB / 0.8081 GB, free: 18.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 8.627e-06/1.56, allocations: 0 / 0.8081 GB, free: 18.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.09631/1.656, allocations: 29.99 MB / 0.8374 GB, free: 9.301 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.657, allocations: 217.9 kB / 0.8376 GB, free: 9.043 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/1.67, allocations: 4.772 MB / 0.8423 GB, free: 4.289 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.671, allocations: 77.45 kB / 0.8424 GB, free: 4.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3653/2.036, allocations: 4.407 MB / 0.8467 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00277/2.039, allocations: 1.255 MB / 0.8479 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/2.041, allocations: 171.6 kB / 0.8481 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008831/2.042, allocations: 0.6807 MB / 0.8487 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009197/2.051, allocations: 4.482 MB / 0.8531 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/2.066, allocations: 9.426 MB / 0.8623 GB, free: 96.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/2.079, allocations: 6.416 MB / 0.8686 GB, free: 95.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003052/2.079, allocations: 50.56 kB / 0.8686 GB, free: 95.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04717/2.126, allocations: 18.55 MB / 0.8867 GB, free: 95.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000604/2.127, allocations: 79.62 kB / 0.8868 GB, free: 95.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005813/2.128, allocations: 175.9 kB / 0.887 GB, free: 95.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0215/2.149, allocations: 5.622 MB / 0.8925 GB, free: 95.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/2.158, allocations: 2.065 MB / 0.8945 GB, free: 94.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/2.189, allocations: 23.61 MB / 0.9175 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009718/2.199, allocations: 0.5448 MB / 0.9181 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002573/2.202, allocations: 0.4979 MB / 0.9186 GB, free: 84.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004287/2.206, allocations: 0.749 MB / 0.9193 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001851/2.208, allocations: 0.4926 MB / 0.9198 GB, free: 83.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03207/2.24, allocations: 12.35 MB / 0.9318 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/2.24, allocations: 60.08 kB / 0.9319 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.133e-05/2.24, allocations: 10.56 kB / 0.9319 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.701e-05/2.24, allocations: 16.86 kB / 0.9319 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05978/2.3, allocations: 23.97 MB / 0.9553 GB, free: 63.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.996e-05/2.3, allocations: 4 kB / 0.9553 GB, free: 63.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/2.304, allocations: 0.575 MB / 0.9559 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01747/2.321, allocations: 4.649 MB / 0.9604 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009256/2.322, allocations: 56.5 kB / 0.9605 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/2.345, allocations: 18.92 MB / 0.979 GB, free: 42.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/2.345, allocations: 11.92 kB / 0.979 GB, free: 42.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0331/2.378, allocations: 17.37 MB / 0.9959 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/2.382, allocations: 1.226 MB / 0.9971 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/2.384, allocations: 57.16 kB / 0.9972 GB, free: 23.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004641/2.389, allocations: 248.4 kB / 0.9974 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/2.39, allocations: 194.6 kB / 0.9976 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006421/2.391, allocations: 84.77 kB / 0.9977 GB, free: 23.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007943/2.399, allocations: 3.309 MB / 1.001 GB, free: 20.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.399, allocations: 4 kB / 1.001 GB, free: 20.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0109/2.41, allocations: 1.707 MB / 1.003 GB, free: 18.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/2.411, allocations: 207.7 kB / 1.003 GB, free: 18.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01635/2.428, allocations: 10.39 MB / 1.013 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/2.428, allocations: 0 / 1.013 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005961/2.434, allocations: 3.942 MB / 1.017 GB, free: 3.945 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/2.438, allocations: 0.5784 MB / 1.017 GB, free: 3.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3475/2.786, allocations: 13.5 MB / 1.031 GB, free: 103 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008253/2.794, allocations: 4.752 MB / 1.035 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008583/2.803, allocations: 2.994 MB / 1.038 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/2.804, allocations: 351.2 kB / 1.038 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/2.804, allocations: 1.031 kB / 1.038 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1299/2.934, allocations: 73.51 MB / 1.11 GB, free: 87.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)