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.005822/0.005822, allocations: 102 kB / 15.73 MB, free: 6.043 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.00118/0.00118, allocations: 196.2 kB / 16.67 MB, free: 5.965 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.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.319/0.319, allocations: 38.01 MB / 307.9 MB, free: 10.05 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.001497/0.001497, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3635, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01389/0.3774, allocations: 13.48 MB / 0.4911 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.389, allocations: 4.799 MB / 0.4958 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004287/0.3933, allocations: 99 kB / 0.4959 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008103/0.4015, allocations: 3.739 MB / 0.4996 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008911/0.4104, allocations: 2.191 MB / 0.5017 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.4143, allocations: 1.088 MB / 0.5028 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.4252, allocations: 6.201 MB / 0.5088 GB, free: 28 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006177/0.4314, allocations: 4.532 MB / 0.5133 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.4363, allocations: 2.038 MB / 0.5152 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.4411, allocations: 2.755 MB / 0.5179 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.4423, allocations: 432 kB / 0.5184 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.4464, allocations: 1.443 MB / 0.5198 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.4492, allocations: 2.47 MB / 0.5222 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005221/0.4544, allocations: 2.789 MB / 0.5249 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.4691, allocations: 8.822 MB / 0.5335 GB, free: 10.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.4692, allocations: 0 / 0.5335 GB, free: 10.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4692, allocations: 0 / 0.5335 GB, free: 10.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003964/0.4696, allocations: 0 / 0.5335 GB, free: 10.48 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.02071/0.4903, allocations: 6.262 MB / 0.5396 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4904, allocations: 11.89 kB / 0.5396 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5022, allocations: 2.529 MB / 0.5421 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009999/0.5123, allocations: 4.117 MB / 0.5461 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.5125, allocations: 283.7 kB / 0.5464 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.5139, allocations: 383.6 kB / 0.5468 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.5372, allocations: 12.01 MB / 0.5585 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002277/0.5375, allocations: 55.48 kB / 0.5585 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008923/0.5384, allocations: 183.8 kB / 0.5587 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003702/0.5421, allocations: 2.143 MB / 0.5608 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02415/0.5663, allocations: 10.37 MB / 0.5709 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06935/0.6357, allocations: 47.3 MB / 0.6171 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/0.6523, allocations: 5.824 MB / 0.6228 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/0.6561, allocations: 2.962 MB / 0.6257 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/0.6705, allocations: 8.869 MB / 0.6344 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.6707, allocations: 59.8 kB / 0.6344 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=206): time 5.61e-06/0.6707, allocations: 0 / 0.6344 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262): time 0.4828/1.153, allocations: 34.99 MB / 0.6686 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/1.154, allocations: 208.1 kB / 0.6688 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007258/1.161, allocations: 4.797 MB / 0.6735 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007377/1.162, allocations: 65.23 kB / 0.6735 GB, free: 115 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.164, allocations: 3.543 MB / 0.677 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.165, allocations: 0.9788 MB / 0.678 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001855/1.167, allocations: 1.424 MB / 0.6794 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/1.167, allocations: 301.1 kB / 0.6796 GB, free: 110 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.171, allocations: 3.176 MB / 0.6827 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004986/1.176, allocations: 7.045 MB / 0.6896 GB, free: 98.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009611/1.186, allocations: 10.94 MB / 0.7003 GB, free: 86.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.684e-05/1.186, allocations: 40 kB / 0.7003 GB, free: 86.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02503/1.211, allocations: 13.75 MB / 0.7138 GB, free: 72.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/1.211, allocations: 65.69 kB / 0.7138 GB, free: 72.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/1.211, allocations: 132 kB / 0.714 GB, free: 72.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/1.222, allocations: 4.401 MB / 0.7183 GB, free: 67.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004829/1.227, allocations: 1.47 MB / 0.7197 GB, free: 66.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03336/1.261, allocations: 29.03 MB / 0.748 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007107/1.268, allocations: 418.7 kB / 0.7484 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/1.269, allocations: 408 kB / 0.7488 GB, free: 35.98 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.004883/1.274, allocations: 2.474 MB / 0.7512 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.275, allocations: 438.4 kB / 0.7517 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.291, allocations: 8.485 MB / 0.76 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-05/1.291, allocations: 28 kB / 0.76 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-05/1.291, allocations: 12 kB / 0.76 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.888e-05/1.291, allocations: 11.95 kB / 0.76 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0308/1.322, allocations: 16.94 MB / 0.7765 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-05/1.322, allocations: 4 kB / 0.7765 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.324, allocations: 299.5 kB / 0.7768 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/1.334, allocations: 3.961 MB / 0.7807 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00061/1.334, allocations: 52 kB / 0.7808 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03653/1.371, allocations: 27.79 MB / 0.8079 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.371, allocations: 11.94 kB / 0.8079 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/1.394, allocations: 12.44 MB / 0.82 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0035/1.397, allocations: 0.9639 MB / 0.821 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/1.399, allocations: 48 kB / 0.821 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.401, allocations: 171.8 kB / 0.8212 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007809/1.402, allocations: 186.1 kB / 0.8214 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.402, allocations: 79.84 kB / 0.8215 GB, free: 8.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005027/1.407, allocations: 3.033 MB / 0.8244 GB, free: 5.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/1.407, allocations: 0 / 0.8244 GB, free: 5.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009118/1.417, allocations: 1.464 MB / 0.8258 GB, free: 4.395 MB / 0.545 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.0007991/1.417, allocations: 199.9 kB / 0.826 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.432, allocations: 8.461 MB / 0.8343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.432, allocations: 0 / 0.8343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006252/1.438, allocations: 3.531 MB / 0.8377 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/1.443, allocations: 0.5787 MB / 0.8383 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3104/1.753, allocations: 12.46 MB / 0.8505 GB, free: 186 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008494/1.761, allocations: 3.933 MB / 0.8543 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006012/1.768, allocations: 2.006 MB / 0.8563 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.769, allocations: 278.3 kB / 0.8565 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/1.769, allocations: 2.078 kB / 0.8565 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1149/1.884, allocations: 69.34 MB / 0.9243 GB, free: 146.1 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (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)