Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008839/0.0008841, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000942/0.0009418, allocations: 168.7 kB / 15.95 MB, free: 204 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.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.2841/0.2841, allocations: 38.04 MB / 308.4 MB, free: 10.41 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.0005155/0.0005155, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2384/0.3398, allocations: 56.61 MB / 490.6 MB, free: 21.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02336/0.3632, allocations: 12.3 MB / 0.4911 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009411/0.3726, allocations: 279.8 kB / 0.4914 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008233/0.3809, allocations: 2.934 MB / 0.4942 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02789/0.4088, allocations: 8.706 MB / 0.5027 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005831/0.4147, allocations: 0.9134 MB / 0.5036 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04777/0.4625, allocations: 36.11 MB / 0.5389 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008879/0.4714, allocations: 5.573 MB / 0.5443 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.4747, allocations: 1.654 MB / 0.5459 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.4784, allocations: 2.567 MB / 0.5484 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008628/0.4793, allocations: 176 kB / 0.5486 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.4818, allocations: 1.069 MB / 0.5497 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.4846, allocations: 2.162 MB / 0.5518 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.4862, allocations: 1.026 MB / 0.5528 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007174/0.4934, allocations: 6.784 MB / 0.5594 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4935, allocations: 0 / 0.5594 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4935, allocations: 0 / 0.5594 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003017/0.4938, allocations: 0 / 0.5594 GB, free: 11.88 MB / 430.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.01236/0.5062, allocations: 5.237 MB / 0.5645 GB, free: 6.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.5062, allocations: 8.031 kB / 0.5645 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.5168, allocations: 2.575 MB / 0.567 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007881/0.5248, allocations: 3.963 MB / 0.5709 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.525, allocations: 291.2 kB / 0.5712 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.5263, allocations: 387.7 kB / 0.5715 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.5478, allocations: 12 MB / 0.5833 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/0.548, allocations: 59.44 kB / 0.5833 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008249/0.5488, allocations: 179.8 kB / 0.5835 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.5518, allocations: 2.14 MB / 0.5856 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.5712, allocations: 10.34 MB / 0.5957 GB, free: 5.777 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2723/0.8435, allocations: 47.51 MB / 0.6421 GB, free: 117.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.8558, allocations: 5.822 MB / 0.6478 GB, free: 116.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.8592, allocations: 2.959 MB / 0.6507 GB, free: 116.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.8701, allocations: 8.877 MB / 0.6593 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8701, allocations: 58.09 kB / 0.6594 GB, free: 113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.601e-06/0.8701, allocations: 0 / 0.6594 GB, free: 113 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1064/0.9766, allocations: 35.07 MB / 0.6936 GB, free: 103.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.9767, allocations: 211.2 kB / 0.6938 GB, free: 103.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00556/0.9823, allocations: 4.763 MB / 0.6985 GB, free: 101.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005457/0.9828, allocations: 72.06 kB / 0.6986 GB, free: 101.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.9847, allocations: 3.553 MB / 0.702 GB, free: 98.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000875/0.9856, allocations: 0.9653 MB / 0.703 GB, free: 97.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.9859, allocations: 143.6 kB / 0.7031 GB, free: 97.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.9861, allocations: 0.5996 MB / 0.7037 GB, free: 96.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/0.9897, allocations: 3.153 MB / 0.7068 GB, free: 94.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/0.9943, allocations: 7.006 MB / 0.7136 GB, free: 86.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/0.9992, allocations: 4.6 MB / 0.7181 GB, free: 81.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.361e-05/0.9992, allocations: 40 kB / 0.7181 GB, free: 81.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02031/1.02, allocations: 13.69 MB / 0.7315 GB, free: 67.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.02, allocations: 63.12 kB / 0.7316 GB, free: 67.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/1.02, allocations: 136 kB / 0.7317 GB, free: 67.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.03, allocations: 4.419 MB / 0.736 GB, free: 63.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/1.034, allocations: 1.478 MB / 0.7375 GB, free: 61.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/1.063, allocations: 26.84 MB / 0.7637 GB, free: 34.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/1.067, allocations: 411.3 kB / 0.7641 GB, free: 34.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008378/1.068, allocations: 408 kB / 0.7645 GB, free: 33.73 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.003538/1.072, allocations: 2.475 MB / 0.7669 GB, free: 31.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008308/1.073, allocations: 434.4 kB / 0.7673 GB, free: 30.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.087, allocations: 8.471 MB / 0.7756 GB, free: 22.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.976e-05/1.087, allocations: 31.98 kB / 0.7756 GB, free: 22.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-05/1.087, allocations: 20 kB / 0.7756 GB, free: 22.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-05/1.087, allocations: 15.91 kB / 0.7756 GB, free: 22.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/1.111, allocations: 17.03 MB / 0.7923 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.111, allocations: 10.62 kB / 0.7923 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.113, allocations: 307.5 kB / 0.7926 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00917/1.122, allocations: 4.099 MB / 0.7966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003528/1.122, allocations: 44 kB / 0.7966 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03356/1.156, allocations: 25.62 MB / 0.8216 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.156, allocations: 4 kB / 0.8216 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2226/1.379, allocations: 12.4 MB / 0.8337 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/1.381, allocations: 0.9676 MB / 0.8347 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005445/1.381, allocations: 48.56 kB / 0.8347 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.383, allocations: 174.2 kB / 0.8349 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/1.384, allocations: 197.6 kB / 0.8351 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.384, allocations: 68.66 kB / 0.8352 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003753/1.388, allocations: 3.004 MB / 0.8381 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.388, allocations: 0 / 0.8381 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005955/1.394, allocations: 1.47 MB / 0.8395 GB, free: 159.1 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005242/1.394, allocations: 191.1 kB / 0.8397 GB, free: 159 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.407, allocations: 8.385 MB / 0.8479 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.407, allocations: 2.281 kB / 0.8479 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004996/1.412, allocations: 3.552 MB / 0.8514 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.415, allocations: 0.5565 MB / 0.8519 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/1.435, allocations: 14.48 MB / 0.866 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005474/1.441, allocations: 3.928 MB / 0.8699 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005672/1.446, allocations: 2.002 MB / 0.8718 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/1.447, allocations: 282.6 kB / 0.8721 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/1.447, allocations: 0.9688 kB / 0.8721 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.0896/1.537, allocations: 67.07 MB / 0.9376 GB, free: 98.69 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) Environment - environmentSimulation: