Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008442/0.000844, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00698/0.00698, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.535/1.535, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.3011/0.3011, allocations: 38.02 MB / 308.8 MB, free: 10.39 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.0005407/0.0005408, allocations: 19.98 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1118, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2239/0.3357, allocations: 45.8 MB / 480.4 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02189/0.3576, allocations: 10.07 MB / 490.4 MB, free: 21.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009176/0.3668, allocations: 205.1 kB / 490.6 MB, free: 21.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.3687, allocations: 454 kB / 491.1 MB, free: 21.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.3738, allocations: 1.894 MB / 493 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.3758, allocations: 0.8394 MB / 493.8 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007988/0.3838, allocations: 7.445 MB / 0.4895 GB, free: 18.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00711/0.3909, allocations: 4.681 MB / 0.4941 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.3948, allocations: 1.331 MB / 0.4954 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00511/0.4, allocations: 2.424 MB / 0.4977 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.4013, allocations: 176.3 kB / 0.4979 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.4049, allocations: 1.277 MB / 0.4992 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003474/0.4084, allocations: 1.983 MB / 0.5011 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005163/0.4136, allocations: 2.211 MB / 0.5033 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4261, allocations: 7.377 MB / 0.5105 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.4262, allocations: 1.156 kB / 0.5105 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4262, allocations: 0 / 0.5105 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004039/0.4266, allocations: 0 / 0.5105 GB, free: 9.305 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.01366/0.4403, allocations: 4.6 MB / 0.515 GB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4404, allocations: 12.94 kB / 0.515 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.4525, allocations: 2.531 MB / 0.5174 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008193/0.4607, allocations: 3.468 MB / 0.5208 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.461, allocations: 240.6 kB / 0.5211 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.4622, allocations: 333.4 kB / 0.5214 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.4821, allocations: 10.91 MB / 0.532 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.4823, allocations: 51.5 kB / 0.5321 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00045/0.4827, allocations: 151.9 kB / 0.5322 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003068/0.4858, allocations: 1.998 MB / 0.5342 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.5054, allocations: 9.475 MB / 0.5434 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05118/0.5566, allocations: 41.24 MB / 0.5837 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.5674, allocations: 4.294 MB / 0.5879 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.5703, allocations: 1.922 MB / 0.5898 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.5823, allocations: 7.622 MB / 0.5972 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.5824, allocations: 51.55 kB / 0.5973 GB, free: 2.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=180): time 5.41e-06/0.5824, allocations: 0 / 0.5973 GB, free: 2.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=236): time 0.3566/0.939, allocations: 41.46 MB / 0.6378 GB, free: 148.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.9391, allocations: 206.6 kB / 0.638 GB, free: 148.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006605/0.9457, allocations: 4.332 MB / 0.6422 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006231/0.9464, allocations: 66.17 kB / 0.6422 GB, free: 147.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002796/0.9492, allocations: 3.161 MB / 0.6453 GB, free: 145.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002063/0.9513, allocations: 0.8875 MB / 0.6462 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.9524, allocations: 0.5652 MB / 0.6468 GB, free: 145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.9525, allocations: 303.2 kB / 0.647 GB, free: 144.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/0.9573, allocations: 3.625 MB / 0.6506 GB, free: 143.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/0.9629, allocations: 7.3 MB / 0.6577 GB, free: 137.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/0.9765, allocations: 11.62 MB / 0.6691 GB, free: 128.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/0.9767, allocations: 36.86 kB / 0.6691 GB, free: 128.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04345/1.02, allocations: 16.22 MB / 0.6849 GB, free: 123.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.02, allocations: 62.69 kB / 0.685 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.02, allocations: 133.2 kB / 0.6851 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02322/1.044, allocations: 6.258 MB / 0.6912 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005565/1.049, allocations: 1.483 MB / 0.6927 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02898/1.078, allocations: 26.17 MB / 0.7182 GB, free: 97.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006348/1.085, allocations: 419.3 kB / 0.7186 GB, free: 96.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.086, allocations: 388 kB / 0.719 GB, free: 96.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.005098/1.091, allocations: 2.224 MB / 0.7212 GB, free: 94.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009626/1.092, allocations: 390.9 kB / 0.7216 GB, free: 93.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02726/1.119, allocations: 11.31 MB / 0.7326 GB, free: 82.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/1.12, allocations: 24 kB / 0.7326 GB, free: 82.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/1.12, allocations: 19.94 kB / 0.7326 GB, free: 82.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.125e-05/1.12, allocations: 7.969 kB / 0.7326 GB, free: 82.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04095/1.161, allocations: 20.77 MB / 0.7529 GB, free: 61.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/1.161, allocations: 11.12 kB / 0.7529 GB, free: 61.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.163, allocations: 384 kB / 0.7533 GB, free: 61.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0194/1.182, allocations: 5.347 MB / 0.7585 GB, free: 55.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006368/1.183, allocations: 44 kB / 0.7586 GB, free: 55.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0234/1.206, allocations: 21.25 MB / 0.7793 GB, free: 34.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.206, allocations: 11.78 kB / 0.7793 GB, free: 34.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02918/1.236, allocations: 14.63 MB / 0.7936 GB, free: 19.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/1.238, allocations: 0.9878 MB / 0.7946 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/1.239, allocations: 36.69 kB / 0.7946 GB, free: 18.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.242, allocations: 187.7 kB / 0.7948 GB, free: 18.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/1.242, allocations: 157 kB / 0.7949 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.242, allocations: 60 kB / 0.795 GB, free: 17.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004323/1.247, allocations: 2.729 MB / 0.7977 GB, free: 15.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.247, allocations: 0 / 0.7977 GB, free: 15.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00655/1.253, allocations: 1.365 MB / 0.799 GB, free: 13.86 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.000582/1.254, allocations: 185.7 kB / 0.7992 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.264, allocations: 8.311 MB / 0.8073 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.264, allocations: 4 kB / 0.8073 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003848/1.268, allocations: 3.216 MB / 0.8104 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1943/1.462, allocations: 482.9 kB / 0.8109 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/1.481, allocations: 14.17 MB / 0.8247 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.484, allocations: 3.513 MB / 0.8282 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004554/1.489, allocations: 1.962 MB / 0.8301 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/1.49, allocations: 270.4 kB / 0.8303 GB, free: 131.9 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.49, allocations: 0 / 0.8303 GB, free: 131.9 MB / 494.1 MB Notification: Performance of Templates: time 0.09342/1.583, allocations: 66.35 MB / 0.8951 GB, free: 94.62 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) Environment - environmentSimulation: