Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006083/0.006083, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.2949/0.2949, allocations: 38.03 MB / 308.8 MB, free: 10.36 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.0005853/0.0005852, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2538/0.3591, allocations: 52.09 MB / 486.7 MB, free: 23.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02439/0.3835, allocations: 11.16 MB / 497.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01118/0.3948, allocations: 234.5 kB / 498 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.3969, allocations: 0.6119 MB / 498.7 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.4028, allocations: 2.419 MB / 0.4893 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.4051, allocations: 0.9115 MB / 0.4902 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.4173, allocations: 9.424 MB / 0.4994 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009446/0.4268, allocations: 5.819 MB / 0.5051 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.4312, allocations: 1.758 MB / 0.5068 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005517/0.4368, allocations: 3.154 MB / 0.5099 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.4381, allocations: 237.6 kB / 0.5101 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.4415, allocations: 1.327 MB / 0.5114 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003563/0.4451, allocations: 2.644 MB / 0.514 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004982/0.4501, allocations: 2.984 MB / 0.5169 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.4632, allocations: 9.697 MB / 0.5264 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4633, allocations: 4 kB / 0.5264 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4633, allocations: 0 / 0.5264 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004038/0.4637, allocations: 4 kB / 0.5264 GB, free: 13.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01443/0.4781, allocations: 6.099 MB / 0.5324 GB, free: 7.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4782, allocations: 8.031 kB / 0.5324 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.4946, allocations: 4.021 MB / 0.5363 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008641/0.5033, allocations: 4.228 MB / 0.5404 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.5036, allocations: 316.6 kB / 0.5407 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.5051, allocations: 439.5 kB / 0.5411 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.5348, allocations: 15.75 MB / 0.5565 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/0.5351, allocations: 59.53 kB / 0.5566 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009166/0.536, allocations: 199.8 kB / 0.5568 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005373/0.5414, allocations: 3.216 MB / 0.5599 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/0.5711, allocations: 14.19 MB / 0.5738 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07156/0.6427, allocations: 57.8 MB / 0.6302 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2153/0.858, allocations: 6.608 MB / 0.6367 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004877/0.863, allocations: 3.76 MB / 0.6403 GB, free: 138.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01892/0.8819, allocations: 14.78 MB / 0.6548 GB, free: 131.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.882, allocations: 68.28 kB / 0.6548 GB, free: 131.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 6.211e-06/0.882, allocations: 0 / 0.6548 GB, free: 131.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.1494/1.031, allocations: 42.82 MB / 0.6966 GB, free: 119.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.032, allocations: 210 kB / 0.6969 GB, free: 119.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.042, allocations: 5.49 MB / 0.7022 GB, free: 113.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007927/1.043, allocations: 69.7 kB / 0.7023 GB, free: 113.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.045, allocations: 4.347 MB / 0.7065 GB, free: 109.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.046, allocations: 1.273 MB / 0.7078 GB, free: 107.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/1.047, allocations: 0.7722 MB / 0.7085 GB, free: 107.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/1.048, allocations: 309.1 kB / 0.7088 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005599/1.053, allocations: 4.839 MB / 0.7135 GB, free: 102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007815/1.061, allocations: 9.827 MB / 0.7231 GB, free: 89.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/1.076, allocations: 15.61 MB / 0.7384 GB, free: 71.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/1.076, allocations: 48 kB / 0.7384 GB, free: 71.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04258/1.119, allocations: 19.64 MB / 0.7576 GB, free: 51.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/1.119, allocations: 76 kB / 0.7577 GB, free: 51.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.119, allocations: 172 kB / 0.7579 GB, free: 51.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0221/1.141, allocations: 5.975 MB / 0.7637 GB, free: 45.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007048/1.148, allocations: 2.121 MB / 0.7658 GB, free: 43.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0281/1.177, allocations: 24.8 MB / 0.79 GB, free: 18.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00838/1.185, allocations: 0.5734 MB / 0.7905 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/1.187, allocations: 0.5117 MB / 0.791 GB, free: 17.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006698/1.194, allocations: 3.094 MB / 0.7941 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/1.195, allocations: 497.5 kB / 0.7945 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03109/1.226, allocations: 13.03 MB / 0.8073 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.444e-05/1.226, allocations: 58.59 kB / 0.8073 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/1.226, allocations: 12 kB / 0.8073 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-05/1.226, allocations: 15.94 kB / 0.8073 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.284/1.51, allocations: 24.76 MB / 0.8315 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/1.51, allocations: 6.75 kB / 0.8315 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.513, allocations: 0.5798 MB / 0.8321 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01947/1.533, allocations: 5.003 MB / 0.837 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008443/1.534, allocations: 55.41 kB / 0.837 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/1.563, allocations: 20 MB / 0.8566 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.563, allocations: 5.844 kB / 0.8566 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0373/1.6, allocations: 17.6 MB / 0.8738 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003715/1.604, allocations: 1.263 MB / 0.875 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.605, allocations: 51.5 kB / 0.875 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004627/1.61, allocations: 269.7 kB / 0.8753 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001229/1.611, allocations: 194.7 kB / 0.8755 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003571/1.612, allocations: 82.97 kB / 0.8756 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006504/1.618, allocations: 3.42 MB / 0.8789 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/1.618, allocations: 0 / 0.8789 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009764/1.628, allocations: 1.764 MB / 0.8806 GB, free: 117.5 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/1.629, allocations: 208 kB / 0.8808 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01711/1.646, allocations: 11 MB / 0.8916 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.646, allocations: 0 / 0.8916 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005338/1.652, allocations: 4.128 MB / 0.8956 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007384/1.659, allocations: 0.5989 MB / 0.8962 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/1.684, allocations: 19.38 MB / 0.9151 GB, free: 87.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004526/1.689, allocations: 4.629 MB / 0.9196 GB, free: 82.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007225/1.696, allocations: 2.978 MB / 0.9225 GB, free: 79.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/1.698, allocations: 355.4 kB / 0.9229 GB, free: 79.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/1.698, allocations: 3.938 kB / 0.9229 GB, free: 79.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.3366/2.034, allocations: 77.02 MB / 0.9981 GB, free: 133.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) Environment - environmentSimulation: