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.001229/0.001229, allocations: 99.31 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.001413/0.001413, 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.395/0.395, allocations: 38.03 MB / 308.4 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.0005794/0.0005794, allocations: 16.22 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.286/0.4191, allocations: 45.75 MB / 479.7 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02437/0.4435, allocations: 11.1 MB / 490.8 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01138/0.4549, allocations: 230.2 kB / 491 MB, free: 21.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008289/0.4633, allocations: 2.28 MB / 493.3 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02203/0.4853, allocations: 6.683 MB / 500 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.4895, allocations: 0.8421 MB / 0.4891 GB, free: 16.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05015/0.5396, allocations: 28.08 MB / 0.5165 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006785/0.5465, allocations: 5.094 MB / 0.5215 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.5488, allocations: 1.561 MB / 0.523 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.5515, allocations: 2.278 MB / 0.5252 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008426/0.5524, allocations: 236 kB / 0.5254 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.5547, allocations: 1.092 MB / 0.5265 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.5571, allocations: 2.408 MB / 0.5289 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.5588, allocations: 1.205 MB / 0.53 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.5685, allocations: 8.109 MB / 0.5379 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5685, allocations: 0 / 0.5379 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5685, allocations: 0 / 0.5379 GB, free: 1.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003969/0.5689, allocations: 0 / 0.5379 GB, free: 1.465 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.01785/0.5868, allocations: 6.489 MB / 0.5443 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5868, allocations: 12.03 kB / 0.5443 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05003/0.6369, allocations: 9.723 MB / 0.5538 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.6491, allocations: 4.688 MB / 0.5584 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.6495, allocations: 316 kB / 0.5587 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/0.6521, allocations: 435.6 kB / 0.5591 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/0.6837, allocations: 15.76 MB / 0.5745 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/0.6839, allocations: 67.47 kB / 0.5745 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008499/0.6848, allocations: 203.8 kB / 0.5747 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006093/0.6909, allocations: 3.212 MB / 0.5779 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03172/0.7227, allocations: 14.1 MB / 0.5916 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3909/1.114, allocations: 57.56 MB / 0.6478 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/1.127, allocations: 6.595 MB / 0.6543 GB, free: 104.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02378/1.151, allocations: 14.56 MB / 0.6685 GB, free: 98.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/1.151, allocations: 61.34 kB / 0.6686 GB, free: 98.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=289): time 6.542e-06/1.151, allocations: 0 / 0.6686 GB, free: 98.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1504/1.301, allocations: 42.99 MB / 0.7106 GB, free: 85.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/1.302, allocations: 213.2 kB / 0.7108 GB, free: 85.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007717/1.309, allocations: 5.739 MB / 0.7164 GB, free: 82.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.31, allocations: 70.83 kB / 0.7164 GB, free: 82.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/1.313, allocations: 4.411 MB / 0.7207 GB, free: 77.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001919/1.315, allocations: 1.253 MB / 0.722 GB, free: 76.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/1.316, allocations: 171.5 kB / 0.7221 GB, free: 76.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004108/1.316, allocations: 0.6819 MB / 0.7228 GB, free: 75.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005642/1.322, allocations: 4.616 MB / 0.7273 GB, free: 71.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008053/1.33, allocations: 9.541 MB / 0.7366 GB, free: 59.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/1.339, allocations: 6.492 MB / 0.743 GB, free: 52.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.299e-05/1.339, allocations: 48 kB / 0.743 GB, free: 52.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04134/1.38, allocations: 18.95 MB / 0.7615 GB, free: 33.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/1.381, allocations: 80 kB / 0.7616 GB, free: 33.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002878/1.381, allocations: 176 kB / 0.7617 GB, free: 33.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02192/1.403, allocations: 5.838 MB / 0.7674 GB, free: 27.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/1.41, allocations: 2.063 MB / 0.7695 GB, free: 25.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/1.438, allocations: 24.94 MB / 0.7938 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00811/1.446, allocations: 0.5538 MB / 0.7944 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.447, allocations: 0.5009 MB / 0.7949 GB, free: 15.34 MB / 0.4981 GB 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 (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.006923/1.454, allocations: 3.105 MB / 0.7979 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.455, allocations: 0.5013 MB / 0.7984 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03173/1.487, allocations: 12.68 MB / 0.8108 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001451/1.487, allocations: 59.27 kB / 0.8108 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/1.487, allocations: 8.875 kB / 0.8108 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/1.488, allocations: 15.94 kB / 0.8108 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3373/1.825, allocations: 24.44 MB / 0.8347 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.045e-05/1.825, allocations: 6.672 kB / 0.8347 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/1.828, allocations: 0.5826 MB / 0.8353 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0183/1.846, allocations: 4.846 MB / 0.84 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007105/1.847, allocations: 53.61 kB / 0.8401 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02511/1.872, allocations: 20.18 MB / 0.8598 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.872, allocations: 5.031 kB / 0.8598 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04019/1.913, allocations: 17.83 MB / 0.8772 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004679/1.917, allocations: 1.258 MB / 0.8784 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00168/1.919, allocations: 63.7 kB / 0.8785 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/1.922, allocations: 258.5 kB / 0.8787 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007558/1.923, allocations: 192.5 kB / 0.8789 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/1.924, allocations: 80.56 kB / 0.879 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00554/1.929, allocations: 3.613 MB / 0.8825 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/1.929, allocations: 1.125 kB / 0.8825 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008319/1.937, allocations: 1.736 MB / 0.8842 GB, free: 136.9 MB / 0.5137 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 (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.0007989/1.938, allocations: 223 kB / 0.8844 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.953, allocations: 10.6 MB / 0.8948 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.953, allocations: 3.969 kB / 0.8948 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/1.958, allocations: 4.047 MB / 0.8987 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/1.962, allocations: 0.5753 MB / 0.8993 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/1.989, allocations: 18.43 MB / 0.9173 GB, free: 113.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00589/1.995, allocations: 4.758 MB / 0.9219 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007387/2.003, allocations: 3.002 MB / 0.9249 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/2.004, allocations: 351.4 kB / 0.9252 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/2.004, allocations: 0 / 0.9252 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1119/2.116, allocations: 75.64 MB / 0.9991 GB, free: 29.45 MB / 0.5137 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: