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.006136/0.006136, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.00121/0.00121, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.3475/0.3475, allocations: 37.99 MB / 307.9 MB, free: 10.08 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.00152/0.00152, allocations: 79.88 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3531, allocations: 56.46 MB / 489.4 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01572/0.3688, allocations: 15.09 MB / 0.4927 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.3836, allocations: 4.829 MB / 0.4974 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005961/0.3896, allocations: 97.09 kB / 0.4975 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007286/0.397, allocations: 3.157 MB / 0.5006 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009339/0.4063, allocations: 2.561 MB / 0.5031 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.4095, allocations: 0.9964 MB / 0.5041 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.4219, allocations: 6.648 MB / 0.5106 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007789/0.4297, allocations: 4.373 MB / 0.5148 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006684/0.4364, allocations: 2.239 MB / 0.517 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006835/0.4433, allocations: 3.267 MB / 0.5202 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002406/0.4458, allocations: 484 kB / 0.5207 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004701/0.4505, allocations: 1.486 MB / 0.5221 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004906/0.4554, allocations: 2.875 MB / 0.5249 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007954/0.4634, allocations: 3.254 MB / 0.5281 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.4785, allocations: 10.46 MB / 0.5383 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4786, allocations: 0 / 0.5383 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4786, allocations: 8 kB / 0.5383 GB, free: 5.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004109/0.479, allocations: 0 / 0.5383 GB, free: 5.531 MB / 414.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.0226/0.5016, allocations: 7.318 MB / 0.5455 GB, free: 14.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.5017, allocations: 15.89 kB / 0.5455 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/0.5194, allocations: 3.927 MB / 0.5493 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.5309, allocations: 4.29 MB / 0.5535 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.5313, allocations: 316.4 kB / 0.5538 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.5336, allocations: 435.6 kB / 0.5542 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/0.563, allocations: 15.73 MB / 0.5696 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.5632, allocations: 55.44 kB / 0.5697 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000857/0.5641, allocations: 211.8 kB / 0.5699 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005178/0.5693, allocations: 3.22 MB / 0.573 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/0.5998, allocations: 14.16 MB / 0.5868 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.407/1.007, allocations: 57.5 MB / 0.643 GB, free: 88.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.024, allocations: 6.598 MB / 0.6494 GB, free: 87.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00612/1.031, allocations: 3.76 MB / 0.6531 GB, free: 86.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02834/1.059, allocations: 14.78 MB / 0.6675 GB, free: 79.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/1.059, allocations: 65.28 kB / 0.6676 GB, free: 79.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=292): time 6.532e-06/1.059, allocations: 0 / 0.6676 GB, free: 79.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342): time 0.166/1.225, allocations: 42.54 MB / 0.7092 GB, free: 56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/1.225, allocations: 213.5 kB / 0.7094 GB, free: 55.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/1.232, allocations: 5.49 MB / 0.7147 GB, free: 50.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009637/1.233, allocations: 73.7 kB / 0.7148 GB, free: 50.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.235, allocations: 4.347 MB / 0.719 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.237, allocations: 1.271 MB / 0.7203 GB, free: 44.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002409/1.239, allocations: 1.855 MB / 0.7221 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/1.239, allocations: 301.1 kB / 0.7224 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005585/1.245, allocations: 4.835 MB / 0.7271 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/1.252, allocations: 9.831 MB / 0.7367 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/1.268, allocations: 15.62 MB / 0.752 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/1.268, allocations: 48 kB / 0.752 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04496/1.313, allocations: 19.62 MB / 0.7712 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.313, allocations: 88 kB / 0.7712 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002162/1.313, allocations: 172 kB / 0.7714 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02422/1.337, allocations: 5.944 MB / 0.7772 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008053/1.345, allocations: 2.121 MB / 0.7793 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0357/1.381, allocations: 26.16 MB / 0.8048 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00883/1.39, allocations: 0.5578 MB / 0.8054 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.392, allocations: 0.5078 MB / 0.8059 GB, free: 15.93 MB / 0.5606 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 (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.005919/1.398, allocations: 3.105 MB / 0.8089 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.399, allocations: 497.5 kB / 0.8094 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/1.432, allocations: 13.02 MB / 0.8221 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/1.432, allocations: 55.98 kB / 0.8221 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/1.432, allocations: 11.94 kB / 0.8221 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.634e-05/1.432, allocations: 23.94 kB / 0.8222 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05967/1.492, allocations: 24.61 MB / 0.8462 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/1.492, allocations: 4 kB / 0.8462 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.496, allocations: 0.585 MB / 0.8468 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02158/1.517, allocations: 4.97 MB / 0.8516 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008821/1.518, allocations: 67.97 kB / 0.8517 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.364/1.882, allocations: 21.34 MB / 0.8725 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/1.882, allocations: 10.12 kB / 0.8725 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04322/1.925, allocations: 17.59 MB / 0.8897 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004834/1.93, allocations: 1.252 MB / 0.8909 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001841/1.932, allocations: 57.12 kB / 0.891 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004465/1.937, allocations: 265.2 kB / 0.8913 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009871/1.938, allocations: 194.3 kB / 0.8914 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/1.938, allocations: 79.56 kB / 0.8915 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007207/1.945, allocations: 3.416 MB / 0.8948 GB, free: 206.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.6e-07/1.945, allocations: 1.188 kB / 0.8949 GB, free: 206.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01349/1.959, allocations: 1.765 MB / 0.8966 GB, free: 206.2 MB / 0.6075 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.001216/1.96, allocations: 204.5 kB / 0.8968 GB, free: 206.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01809/1.978, allocations: 11.05 MB / 0.9076 GB, free: 201.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.978, allocations: 0 / 0.9076 GB, free: 201.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005632/1.984, allocations: 4.138 MB / 0.9116 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.988, allocations: 0.6183 MB / 0.9122 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/2.016, allocations: 16.11 MB / 0.9279 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005555/2.022, allocations: 4.629 MB / 0.9325 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007281/2.029, allocations: 2.983 MB / 0.9354 GB, free: 185.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/2.031, allocations: 351.4 kB / 0.9357 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/2.031, allocations: 4 kB / 0.9357 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.1153/2.146, allocations: 77.22 MB / 1.011 GB, free: 107.8 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (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)