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.001503/0.001503, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001906/0.001906, allocations: 193.7 kB / 16.13 MB, free: 6.605 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.609/1.609, allocations: 205.1 MB / 222 MB, free: 4.738 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.3788/0.3788, allocations: 39.94 MB / 309.3 MB, free: 9.641 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.001334/0.001334, allocations: 63.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 56.88 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3218/0.4856, allocations: 62.42 MB / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03559/0.5212, allocations: 12.95 MB / 0.4972 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01878/0.5401, allocations: 281.6 kB / 0.4975 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008177/0.5484, allocations: 3.734 MB / 0.5012 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007915/0.5563, allocations: 2.054 MB / 0.5032 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.5597, allocations: 1.004 MB / 0.5041 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01925/0.5789, allocations: 8.651 MB / 0.5126 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.5894, allocations: 4.445 MB / 0.5169 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.5963, allocations: 1.819 MB / 0.5187 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007251/0.6036, allocations: 2.956 MB / 0.5216 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002092/0.6057, allocations: 303.6 kB / 0.5219 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00482/0.6106, allocations: 1.386 MB / 0.5232 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005419/0.616, allocations: 2.374 MB / 0.5256 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00607/0.6221, allocations: 2.668 MB / 0.5282 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.635, allocations: 8.473 MB / 0.5364 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.635, allocations: 7.938 kB / 0.5364 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.635, allocations: 0 / 0.5364 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003764/0.6354, allocations: 0 / 0.5364 GB, free: 32 kB / 398.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.01784/0.6533, allocations: 6.259 MB / 0.5426 GB, free: 9.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.6534, allocations: 12.03 kB / 0.5426 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.6647, allocations: 2.525 MB / 0.545 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.6758, allocations: 4.036 MB / 0.549 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.6762, allocations: 291.8 kB / 0.5492 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/0.6778, allocations: 391.6 kB / 0.5496 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.703, allocations: 11.99 MB / 0.5613 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.7033, allocations: 59.44 kB / 0.5614 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005608/0.7039, allocations: 179.8 kB / 0.5616 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.7073, allocations: 2.143 MB / 0.5637 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.7304, allocations: 10.37 MB / 0.5738 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06684/0.7973, allocations: 47.52 MB / 0.6202 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.812, allocations: 5.834 MB / 0.6259 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3467/1.159, allocations: 2.962 MB / 0.6288 GB, free: 145.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/1.174, allocations: 8.87 MB / 0.6374 GB, free: 142.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/1.174, allocations: 58.47 kB / 0.6375 GB, free: 142.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.701e-06/1.174, allocations: 0.8438 kB / 0.6375 GB, free: 142.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1251/1.299, allocations: 34.99 MB / 0.6717 GB, free: 133.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/1.299, allocations: 209.6 kB / 0.6719 GB, free: 133.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009295/1.309, allocations: 4.795 MB / 0.6765 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008173/1.309, allocations: 65.58 kB / 0.6766 GB, free: 131.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003056/1.313, allocations: 3.545 MB / 0.6801 GB, free: 129.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.314, allocations: 0.9739 MB / 0.681 GB, free: 128.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002171/1.316, allocations: 1.418 MB / 0.6824 GB, free: 127.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/1.316, allocations: 304.8 kB / 0.6827 GB, free: 127.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/1.32, allocations: 3.177 MB / 0.6858 GB, free: 126.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/1.326, allocations: 7.039 MB / 0.6927 GB, free: 119.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/1.34, allocations: 10.96 MB / 0.7034 GB, free: 106.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002169/1.34, allocations: 39.94 kB / 0.7034 GB, free: 106.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02674/1.367, allocations: 13.74 MB / 0.7168 GB, free: 93.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.367, allocations: 64 kB / 0.7169 GB, free: 93.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.367, allocations: 132.1 kB / 0.717 GB, free: 92.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.379, allocations: 4.392 MB / 0.7213 GB, free: 88.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004987/1.384, allocations: 1.474 MB / 0.7227 GB, free: 87.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03044/1.414, allocations: 26.85 MB / 0.749 GB, free: 59.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/1.421, allocations: 415.3 kB / 0.7494 GB, free: 59.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.423, allocations: 415.9 kB / 0.7498 GB, free: 59.01 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 (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.00508/1.428, allocations: 2.471 MB / 0.7522 GB, free: 56.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/1.429, allocations: 438.4 kB / 0.7526 GB, free: 56.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.444, allocations: 8.482 MB / 0.7609 GB, free: 47.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/1.444, allocations: 28 kB / 0.7609 GB, free: 47.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/1.444, allocations: 16 kB / 0.7609 GB, free: 47.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-05/1.444, allocations: 11.95 kB / 0.7609 GB, free: 47.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02918/1.473, allocations: 17.09 MB / 0.7776 GB, free: 30.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.473, allocations: 8.031 kB / 0.7776 GB, free: 30.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.475, allocations: 299.6 kB / 0.7779 GB, free: 30.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/1.485, allocations: 4.103 MB / 0.7819 GB, free: 25.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004301/1.485, allocations: 47.98 kB / 0.782 GB, free: 25.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02856/1.514, allocations: 25.65 MB / 0.807 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.514, allocations: 8 kB / 0.807 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3816/1.896, allocations: 12.43 MB / 0.8192 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003583/1.899, allocations: 0.9645 MB / 0.8201 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.9, allocations: 45.25 kB / 0.8201 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/1.903, allocations: 173.7 kB / 0.8203 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008371/1.904, allocations: 189 kB / 0.8205 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.904, allocations: 73.5 kB / 0.8206 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005102/1.909, allocations: 3.029 MB / 0.8235 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.492e-06/1.909, allocations: 0 / 0.8235 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009937/1.919, allocations: 1.474 MB / 0.825 GB, free: 143.8 MB / 0.4981 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.0008218/1.92, allocations: 185.1 kB / 0.8251 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01575/1.935, allocations: 8.425 MB / 0.8334 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/1.936, allocations: 1.969 kB / 0.8334 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009088/1.945, allocations: 3.57 MB / 0.8369 GB, free: 139 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006264/1.951, allocations: 0.5453 MB / 0.8374 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/1.982, allocations: 15.02 MB / 0.8521 GB, free: 131 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009715/1.992, allocations: 3.929 MB / 0.8559 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00722/1.999, allocations: 2.004 MB / 0.8578 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/2, allocations: 283.1 kB / 0.8581 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.284e-06/2, allocations: 0 / 0.8581 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1288/2.129, allocations: 69.99 MB / 0.9265 GB, free: 76.77 MB / 0.4981 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)