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.009107/0.009107, allocations: 103 kB / 15.73 MB, free: 5.492 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.00249/0.00249, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1863/0.1863, allocations: 38.01 MB / 307.9 MB, free: 5.969 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.001456/0.001456, allocations: 75.91 kB / 433 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1207, allocations: 56.47 MB / 489.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01525/0.136, allocations: 15.08 MB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.1481, allocations: 4.839 MB / 0.4974 GB, free: 2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.1511, allocations: 91.75 kB / 0.4975 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006755/0.1579, allocations: 3.161 MB / 0.5006 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008572/0.1665, allocations: 2.619 MB / 0.5032 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.1693, allocations: 0.9983 MB / 0.5041 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01208/0.1814, allocations: 6.643 MB / 0.5106 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009189/0.1907, allocations: 4.381 MB / 0.5149 GB, free: 0 / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.315/0.5057, allocations: 2.236 MB / 0.5171 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009414/0.5151, allocations: 3.268 MB / 0.5203 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003657/0.5188, allocations: 486.6 kB / 0.5207 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007773/0.5266, allocations: 1.49 MB / 0.5222 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007513/0.5342, allocations: 2.901 MB / 0.525 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009688/0.5439, allocations: 3.262 MB / 0.5282 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.5605, allocations: 10.46 MB / 0.5384 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.5605, allocations: 1.688 kB / 0.5384 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5605, allocations: 0 / 0.5384 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000472/0.561, allocations: 1 kB / 0.5384 GB, free: 4.309 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.02749/0.5885, allocations: 7.33 MB / 0.5456 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5886, allocations: 13.64 kB / 0.5456 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.6056, allocations: 3.923 MB / 0.5494 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.6176, allocations: 4.296 MB / 0.5536 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.6181, allocations: 319.2 kB / 0.5539 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.6205, allocations: 432.7 kB / 0.5544 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.033/0.6536, allocations: 15.74 MB / 0.5697 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005032/0.6541, allocations: 55 kB / 0.5698 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002885/0.657, allocations: 203.1 kB / 0.57 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00547/0.6625, allocations: 3.218 MB / 0.5731 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03222/0.6948, allocations: 14.17 MB / 0.587 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08861/0.7834, allocations: 57.5 MB / 0.6431 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.7983, allocations: 6.607 MB / 0.6496 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005942/0.8043, allocations: 3.754 MB / 0.6532 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02721/0.8315, allocations: 14.77 MB / 0.6676 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.42e-05/0.8317, allocations: 63.47 kB / 0.6677 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 8.175e-06/0.8317, allocations: 0 / 0.6677 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.1495/0.9812, allocations: 42.56 MB / 0.7093 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.9813, allocations: 217.1 kB / 0.7095 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/0.9938, allocations: 5.494 MB / 0.7148 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/0.9949, allocations: 69.7 kB / 0.7149 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003933/0.9989, allocations: 4.348 MB / 0.7192 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002439/1.001, allocations: 1.27 MB / 0.7204 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006267/1.008, allocations: 1.852 MB / 0.7222 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/1.008, allocations: 309.1 kB / 0.7225 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008672/1.016, allocations: 4.835 MB / 0.7272 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2998/1.316, allocations: 9.821 MB / 0.7368 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02066/1.337, allocations: 15.63 MB / 0.7521 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003569/1.337, allocations: 48.66 kB / 0.7521 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05179/1.389, allocations: 19.62 MB / 0.7713 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003043/1.389, allocations: 82.69 kB / 0.7714 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004116/1.39, allocations: 171.8 kB / 0.7715 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02098/1.411, allocations: 5.942 MB / 0.7773 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007814/1.419, allocations: 2.121 MB / 0.7794 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/1.449, allocations: 26.17 MB / 0.8049 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/1.46, allocations: 0.5533 MB / 0.8055 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002298/1.462, allocations: 0.5078 MB / 0.806 GB, free: 150.4 MB / 0.5762 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.008566/1.471, allocations: 3.111 MB / 0.809 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/1.473, allocations: 498 kB / 0.8095 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02881/1.501, allocations: 13.01 MB / 0.8222 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-05/1.502, allocations: 55.98 kB / 0.8222 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/1.502, allocations: 12 kB / 0.8223 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/1.502, allocations: 11.95 kB / 0.8223 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04924/1.551, allocations: 24.62 MB / 0.8463 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-05/1.551, allocations: 4 kB / 0.8463 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003441/1.555, allocations: 0.5856 MB / 0.8469 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/1.571, allocations: 4.965 MB / 0.8517 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009572/1.572, allocations: 57.72 kB / 0.8518 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/1.595, allocations: 21.36 MB / 0.8727 GB, free: 81.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.595, allocations: 7.938 kB / 0.8727 GB, free: 81.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03376/1.629, allocations: 17.59 MB / 0.8898 GB, free: 64.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004069/1.633, allocations: 1.252 MB / 0.8911 GB, free: 62.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002369/1.636, allocations: 52 kB / 0.8911 GB, free: 62.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004839/1.64, allocations: 268.9 kB / 0.8914 GB, free: 62.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001482/1.642, allocations: 197.6 kB / 0.8916 GB, free: 62.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007396/1.643, allocations: 89.94 kB / 0.8916 GB, free: 62.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00751/1.65, allocations: 3.415 MB / 0.895 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.65, allocations: 4 kB / 0.895 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01176/1.662, allocations: 1.762 MB / 0.8967 GB, free: 57.1 MB / 0.5762 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.00137/1.663, allocations: 201.7 kB / 0.8969 GB, free: 56.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0188/1.682, allocations: 11.04 MB / 0.9077 GB, free: 45.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.682, allocations: 0 / 0.9077 GB, free: 45.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/1.689, allocations: 4.137 MB / 0.9117 GB, free: 41.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007635/1.696, allocations: 0.621 MB / 0.9123 GB, free: 41.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/1.732, allocations: 16.11 MB / 0.9281 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009443/1.742, allocations: 4.632 MB / 0.9326 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.009074/1.751, allocations: 2.978 MB / 0.9355 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/1.753, allocations: 351.4 kB / 0.9358 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/1.753, allocations: 0 / 0.9358 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.4206/2.174, allocations: 77.22 MB / 1.011 GB, free: 153 MB / 0.5762 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)