Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.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 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005719/0.005719, allocations: 100 kB / 15.73 MB, free: 6.453 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.001668/0.001668, allocations: 190.2 kB / 16.67 MB, free: 6.367 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.733/1.733, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3777/0.3777, allocations: 39.94 MB / 309.8 MB, free: 9.262 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.2. 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.001577/0.001577, allocations: 71.89 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3768, allocations: 56.87 MB / 492.6 MB, free: 19.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01837/0.3952, allocations: 13.48 MB / 0.4943 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.4089, allocations: 4.812 MB / 0.499 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.4136, allocations: 94.09 kB / 0.4991 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007793/0.4214, allocations: 3.735 MB / 0.5027 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.4303, allocations: 2.192 MB / 0.5048 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4342, allocations: 1.081 MB / 0.5059 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01275/0.447, allocations: 6.206 MB / 0.512 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.4571, allocations: 4.52 MB / 0.5164 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006128/0.4633, allocations: 2.043 MB / 0.5184 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00589/0.4692, allocations: 2.765 MB / 0.5211 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002211/0.4714, allocations: 432 kB / 0.5215 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/0.4764, allocations: 1.447 MB / 0.5229 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005029/0.4814, allocations: 2.505 MB / 0.5253 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007692/0.4892, allocations: 2.789 MB / 0.5281 GB, free: 284 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.5055, allocations: 8.83 MB / 0.5367 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.5056, allocations: 0 / 0.5367 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5056, allocations: 0 / 0.5367 GB, free: 7.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000428/0.506, allocations: 7.938 kB / 0.5367 GB, free: 7.41 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02239/0.5284, allocations: 6.254 MB / 0.5428 GB, free: 1.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5285, allocations: 15.89 kB / 0.5428 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.5419, allocations: 2.525 MB / 0.5453 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.5542, allocations: 4.121 MB / 0.5493 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.5546, allocations: 287.7 kB / 0.5496 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/0.5569, allocations: 387.6 kB / 0.5499 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/0.5849, allocations: 12.01 MB / 0.5617 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003502/0.5853, allocations: 63.42 kB / 0.5617 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001888/0.5872, allocations: 179.8 kB / 0.5619 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003974/0.5912, allocations: 2.132 MB / 0.564 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.6161, allocations: 10.37 MB / 0.5741 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07496/0.691, allocations: 47.29 MB / 0.6203 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.7066, allocations: 5.832 MB / 0.626 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/0.7113, allocations: 2.97 MB / 0.6289 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4071/1.118, allocations: 8.861 MB / 0.6375 GB, free: 125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/1.119, allocations: 60.53 kB / 0.6376 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=206): time 5.661e-06/1.119, allocations: 3.75 kB / 0.6376 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262): time 0.1376/1.256, allocations: 35 MB / 0.6718 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.256, allocations: 212.3 kB / 0.672 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/1.268, allocations: 4.8 MB / 0.6767 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008995/1.269, allocations: 65.61 kB / 0.6767 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.272, allocations: 3.549 MB / 0.6802 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.273, allocations: 0.9702 MB / 0.6812 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004119/1.278, allocations: 1.428 MB / 0.6825 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.297e-05/1.278, allocations: 301.1 kB / 0.6828 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/1.281, allocations: 3.176 MB / 0.6859 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/1.286, allocations: 7.041 MB / 0.6928 GB, free: 92.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.297, allocations: 10.94 MB / 0.7035 GB, free: 79.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.297, allocations: 43.94 kB / 0.7035 GB, free: 79.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02577/1.323, allocations: 13.74 MB / 0.717 GB, free: 65.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.323, allocations: 67.94 kB / 0.717 GB, free: 65.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002717/1.323, allocations: 132 kB / 0.7171 GB, free: 65.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/1.335, allocations: 4.403 MB / 0.7214 GB, free: 61.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/1.34, allocations: 1.47 MB / 0.7229 GB, free: 59.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03598/1.376, allocations: 29.03 MB / 0.7512 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007761/1.384, allocations: 411.4 kB / 0.7516 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/1.386, allocations: 408 kB / 0.752 GB, free: 29.46 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.006615/1.393, allocations: 2.478 MB / 0.7544 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/1.395, allocations: 442.3 kB / 0.7549 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/1.411, allocations: 8.486 MB / 0.7631 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.189e-05/1.411, allocations: 28 kB / 0.7632 GB, free: 17.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.312e-05/1.411, allocations: 12 kB / 0.7632 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-05/1.412, allocations: 11.95 kB / 0.7632 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03778/1.449, allocations: 16.92 MB / 0.7797 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/1.449, allocations: 4 kB / 0.7797 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.451, allocations: 299.5 kB / 0.78 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/1.463, allocations: 3.961 MB / 0.7839 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007262/1.464, allocations: 55.94 kB / 0.7839 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03995/1.504, allocations: 27.78 MB / 0.8111 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.504, allocations: 8 kB / 0.8111 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/1.527, allocations: 12.45 MB / 0.8232 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003908/1.531, allocations: 0.9638 MB / 0.8242 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.532, allocations: 52.06 kB / 0.8242 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/1.536, allocations: 175.7 kB / 0.8244 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/1.537, allocations: 186.1 kB / 0.8246 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/1.537, allocations: 79.92 kB / 0.8246 GB, free: 2.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005859/1.543, allocations: 3.03 MB / 0.8276 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/1.543, allocations: 0 / 0.8276 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00876/1.552, allocations: 1.471 MB / 0.829 GB, free: 13.86 MB / 0.5606 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006548/1.552, allocations: 185.5 kB / 0.8292 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.568, allocations: 8.467 MB / 0.8375 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.568, allocations: 0 / 0.8375 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006283/1.574, allocations: 3.531 MB / 0.8409 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.579, allocations: 0.5809 MB / 0.8415 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3906/1.969, allocations: 12.47 MB / 0.8537 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008236/1.977, allocations: 3.93 MB / 0.8575 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006021/1.984, allocations: 2.002 MB / 0.8595 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.985, allocations: 281.2 kB / 0.8597 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.423e-06/1.985, allocations: 0 / 0.8597 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1202/2.105, allocations: 69.98 MB / 0.9281 GB, free: 138.8 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)