Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.751/1.751, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3929/0.3929, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.001546/0.001547, allocations: 70.41 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.161, allocations: 56.87 MB / 434.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01398/0.175, allocations: 12.11 MB / 446.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1859, allocations: 4.315 MB / 450.9 MB, free: 3.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.1885, allocations: 71.81 kB / 451 MB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005394/0.1939, allocations: 2.741 MB / 453.7 MB, free: 424 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3107/0.5046, allocations: 2.013 MB / 455.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.5073, allocations: 0.9075 MB / 456.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009164/0.5165, allocations: 5.246 MB / 461.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005961/0.5226, allocations: 3.371 MB / 465.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.5268, allocations: 1.725 MB / 467 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.5308, allocations: 2.537 MB / 469.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.5319, allocations: 383.4 kB / 469.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.5355, allocations: 1.4 MB / 471.3 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.5383, allocations: 2.191 MB / 473.5 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00339/0.5417, allocations: 2.449 MB / 475.9 MB, free: 32.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.5523, allocations: 7.67 MB / 483.6 MB, free: 29.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.5523, allocations: 1.812 kB / 483.6 MB, free: 29.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5523, allocations: 0 / 483.6 MB, free: 29.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00033/0.5527, allocations: 3.938 kB / 483.6 MB, free: 29.88 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01957/0.5722, allocations: 5.522 MB / 489.1 MB, free: 27.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5723, allocations: 17.61 kB / 489.1 MB, free: 27.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.5858, allocations: 2.474 MB / 491.6 MB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.5964, allocations: 3.466 MB / 495.1 MB, free: 25.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.5969, allocations: 240.3 kB / 495.3 MB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.5992, allocations: 344.8 kB / 495.7 MB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/0.6305, allocations: 10.87 MB / 0.4947 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002494/0.6308, allocations: 49.97 kB / 0.4947 GB, free: 19.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005411/0.6313, allocations: 159.7 kB / 0.4949 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00363/0.635, allocations: 2.002 MB / 0.4968 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.6553, allocations: 9.436 MB / 0.506 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07124/0.7266, allocations: 41.27 MB / 0.5463 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.739, allocations: 4.246 MB / 0.5505 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003501/0.7426, allocations: 1.919 MB / 0.5524 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/0.7601, allocations: 7.618 MB / 0.5598 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.7602, allocations: 55.56 kB / 0.5598 GB, free: 3.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=180): time 5.951e-06/0.7602, allocations: 0 / 0.5598 GB, free: 3.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=236): time 0.177/0.9372, allocations: 40.96 MB / 0.5999 GB, free: 10.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.9374, allocations: 205.9 kB / 0.6 GB, free: 10.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007454/0.9448, allocations: 4.333 MB / 0.6043 GB, free: 5.902 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008831/0.9458, allocations: 61.7 kB / 0.6043 GB, free: 5.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/0.9485, allocations: 3.174 MB / 0.6074 GB, free: 2.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001661/0.9501, allocations: 0.8754 MB / 0.6083 GB, free: 1.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/0.9523, allocations: 1.352 MB / 0.6096 GB, free: 444 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9525, allocations: 313 kB / 0.6099 GB, free: 128 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005625/0.9581, allocations: 3.632 MB / 0.6135 GB, free: 12.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008447/0.9666, allocations: 7.292 MB / 0.6206 GB, free: 3.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.352/1.319, allocations: 11.63 MB / 0.6319 GB, free: 137.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.319, allocations: 38.28 kB / 0.632 GB, free: 137.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04084/1.36, allocations: 16.21 MB / 0.6478 GB, free: 132.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.36, allocations: 58.3 kB / 0.6479 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/1.36, allocations: 129.8 kB / 0.648 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02693/1.387, allocations: 6.223 MB / 0.6541 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/1.393, allocations: 1.492 MB / 0.6555 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03844/1.431, allocations: 27.64 MB / 0.6825 GB, free: 116.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006767/1.438, allocations: 408.5 kB / 0.6829 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009593/1.439, allocations: 385.1 kB / 0.6833 GB, free: 116.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004354/1.443, allocations: 2.22 MB / 0.6854 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009304/1.444, allocations: 398.7 kB / 0.6858 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02883/1.473, allocations: 11.31 MB / 0.6969 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.038e-05/1.473, allocations: 24 kB / 0.6969 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/1.473, allocations: 8 kB / 0.6969 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.211e-05/1.473, allocations: 11.97 kB / 0.6969 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04453/1.518, allocations: 20.71 MB / 0.7171 GB, free: 84.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/1.518, allocations: 4 kB / 0.7171 GB, free: 84.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.52, allocations: 392 kB / 0.7175 GB, free: 84.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02021/1.541, allocations: 5.312 MB / 0.7227 GB, free: 79.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007519/1.541, allocations: 40 kB / 0.7227 GB, free: 78.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02527/1.567, allocations: 22.7 MB / 0.7449 GB, free: 56.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.567, allocations: 11.94 kB / 0.7449 GB, free: 56.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02969/1.597, allocations: 14.6 MB / 0.7592 GB, free: 41.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.6, allocations: 0.9839 MB / 0.7601 GB, free: 40.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007006/1.6, allocations: 44 kB / 0.7602 GB, free: 40.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.603, allocations: 179.7 kB / 0.7603 GB, free: 40.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007221/1.603, allocations: 152.6 kB / 0.7605 GB, free: 40.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.604, allocations: 69.06 kB / 0.7606 GB, free: 39.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003726/1.607, allocations: 2.728 MB / 0.7632 GB, free: 37.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.607, allocations: 0 / 0.7632 GB, free: 37.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007164/1.615, allocations: 1.366 MB / 0.7645 GB, free: 35.88 MB / 494.1 MB 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006459/1.615, allocations: 196.2 kB / 0.7647 GB, free: 35.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01376/1.629, allocations: 9.717 MB / 0.7742 GB, free: 26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.629, allocations: 1.406 kB / 0.7742 GB, free: 26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.633, allocations: 3.215 MB / 0.7774 GB, free: 22.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.637, allocations: 0.5023 MB / 0.7779 GB, free: 22.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.657, allocations: 11.98 MB / 0.7896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/1.662, allocations: 3.523 MB / 0.793 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005284/1.667, allocations: 1.96 MB / 0.7949 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.668, allocations: 263.4 kB / 0.7952 GB, free: 4.465 MB / 494.1 MB Notification: Performance of SimCode: time 1.864e-06/1.668, allocations: 0 / 0.7952 GB, free: 4.465 MB / 494.1 MB Notification: Performance of Templates: time 0.4104/2.079, allocations: 70.21 MB / 0.8637 GB, free: 132.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)